aboutsummaryrefslogtreecommitdiffstats
path: root/TestMediaApp/AndroidManifest.xml
diff options
context:
space:
mode:
authorXin Li <delphij@google.com>2020-09-08 16:55:53 -0700
committerXin Li <delphij@google.com>2020-09-08 16:55:53 -0700
commit794a2ad46d9e4562edf51b4f70204e663f01ac6c (patch)
tree262a8320e168ed28680f1c029f01ab6ce713b239 /TestMediaApp/AndroidManifest.xml
parentfe3429af80780990e3961c83d5eb5bf16273af1d (diff)
parent9db0616ff6acd694c48f3b5cf38b77ecdbbba77a (diff)
downloadplatform_packages_apps_Car_tests-master.tar.gz
platform_packages_apps_Car_tests-master.tar.bz2
platform_packages_apps_Car_tests-master.zip
Merge Android RHEADmaster
Bug: 168057903 Merged-In: I033bdd770610b50bc262e0ef90ebafe4ae04b69b Change-Id: I7c73651a62c6babb4fc15e22bf54ef3930ca10ce
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"