diff --git a/.idea/misc.xml b/.idea/misc.xml
index d61f88c..49d53af 100644
--- a/.idea/misc.xml
+++ b/.idea/misc.xml
@@ -1,32 +1,34 @@
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml
index 07e5ff1..41144ec 100644
--- a/app/src/main/AndroidManifest.xml
+++ b/app/src/main/AndroidManifest.xml
@@ -12,20 +12,23 @@
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:roundIcon="@mipmap/ic_launcher_round"
- android:supportsRtl="true"
android:showOnLockScreen="true"
+ android:supportsRtl="true"
android:theme="@style/Theme.JarvisClientAndroid">
+ android:exported="false" />
-
-
diff --git a/app/src/main/java/ch/mathieubroillet/jarvis/android/ListeningActivity.java b/app/src/main/java/ch/mathieubroillet/jarvis/android/ListeningActivity.java
index 7e8f705..2066735 100644
--- a/app/src/main/java/ch/mathieubroillet/jarvis/android/ListeningActivity.java
+++ b/app/src/main/java/ch/mathieubroillet/jarvis/android/ListeningActivity.java
@@ -27,8 +27,7 @@ public class ListeningActivity extends AppCompatActivity {
getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN,
WindowManager.LayoutParams.FLAG_FULLSCREEN);
-
- setContentView(R.layout.activity_listening);
+ setContentView(R.layout.dialog_listening);
}
diff --git a/app/src/main/java/ch/mathieubroillet/jarvis/android/PorcupineService.java b/app/src/main/java/ch/mathieubroillet/jarvis/android/PorcupineService.java
index b6ca96a..19a8da4 100644
--- a/app/src/main/java/ch/mathieubroillet/jarvis/android/PorcupineService.java
+++ b/app/src/main/java/ch/mathieubroillet/jarvis/android/PorcupineService.java
@@ -41,7 +41,6 @@ public class PorcupineService extends Service {
dialogIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
startActivity(dialogIntent);
-
Toast.makeText(this, "Wake-word detected!", Toast.LENGTH_SHORT).show();
});
porcupineManager.start();
diff --git a/app/src/main/res/layout/activity_listening.xml b/app/src/main/res/layout/dialog_listening.xml
similarity index 100%
rename from app/src/main/res/layout/activity_listening.xml
rename to app/src/main/res/layout/dialog_listening.xml
diff --git a/app/src/main/res/values/styles.xml b/app/src/main/res/values/styles.xml
index 5a924ea..11dbfbd 100644
--- a/app/src/main/res/values/styles.xml
+++ b/app/src/main/res/values/styles.xml
@@ -1,15 +1,6 @@
-
-