aboutsummaryrefslogtreecommitdiff
path: root/TestMediaApp/AndroidManifest.xml
diff options
context:
space:
mode:
authorArnaud Berry <arnaudberry@google.com>2019-07-02 14:34:28 -0700
committerIgor Razumeiko <igorr@google.com>2019-10-02 04:00:15 +0000
commitbc95c5a7610f477a4a3654ee77a063c9f86a7561 (patch)
tree31323e5f29795409bdfc3bca5b0d83719b38ed5b /TestMediaApp/AndroidManifest.xml
parentadd3cfaf5d90724072c42435256c81bedd65a531 (diff)
downloadtests-bc95c5a7610f477a4a3654ee77a063c9f86a7561.tar.gz
Create unbundled gradle project, and make the app work with Auto
Removed dependencies on other repositories so that the tests repository can be checked out and built independently with Android Studio. Test: manual Change-Id: If499e0510ffd5071dd674a66d74f378994b7c1f6
Diffstat (limited to 'TestMediaApp/AndroidManifest.xml')
-rw-r--r--TestMediaApp/AndroidManifest.xml9
1 files changed, 6 insertions, 3 deletions
diff --git a/TestMediaApp/AndroidManifest.xml b/TestMediaApp/AndroidManifest.xml
index 859815b..09e850c 100644
--- a/TestMediaApp/AndroidManifest.xml
+++ b/TestMediaApp/AndroidManifest.xml
@@ -17,9 +17,10 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.android.car.media.testmediaapp" >
- <uses-sdk
- android:minSdkVersion="21"
- android:targetSdkVersion="28"/>
+ <uses-feature
+ android:name="android.hardware.type.automotive"
+ android:required="true"/>
+
<application
android:allowBackup="true"
@@ -65,6 +66,8 @@
<!-- To use the app on a phone. -->
+ <meta-data android:name="com.google.android.gms.car.application"
+ android:resource="@xml/automotive_app_desc"/>
<activity android:name=".phone.TmaLauncherActivity" >
<intent-filter>