aboutsummaryrefslogtreecommitdiffstats
path: root/TestMediaApp/AndroidManifest.xml
diff options
context:
space:
mode:
Diffstat (limited to 'TestMediaApp/AndroidManifest.xml')
-rw-r--r--TestMediaApp/AndroidManifest.xml10
1 files changed, 9 insertions, 1 deletions
diff --git a/TestMediaApp/AndroidManifest.xml b/TestMediaApp/AndroidManifest.xml
index 59069c4..4f806c6 100644
--- a/TestMediaApp/AndroidManifest.xml
+++ b/TestMediaApp/AndroidManifest.xml
@@ -20,7 +20,8 @@
<uses-feature android:name="android.hardware.type.automotive"
android:required="true"/>
-
+ <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
+ <uses-permission android:name="android.permission.FOREGROUND_SERVICE"/>
<application android:allowBackup="true"
android:label="@string/app_name"
@@ -42,6 +43,13 @@
</intent-filter>
</service>
+ <service android:name=".TmaForegroundService"
+ android:icon="@drawable/ic_app_icon"
+ android:exported="false"
+ android:foregroundServiceType="location"
+ android:label="@string/app_name">
+ </service>
+
<service android:name=".TmaBrowser2"
android:icon="@mipmap/ic_launcher"
android:exported="true"