diff options
Diffstat (limited to 'app/src/main')
-rw-r--r-- | app/src/main/AndroidManifest.xml | 13 | ||||
-rw-r--r-- | app/src/main/res/xml/automotive_app_desc.xml | 4 |
2 files changed, 17 insertions, 0 deletions
diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index d9638e705..5d1571311 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -37,6 +37,8 @@ android:backupAgent=".core.backup.OpmlBackupAgent" android:restoreAnyVersion="true" android:logo="@drawable/ic_launcher"> + <meta-data android:name="com.google.android.gms.car.notification.SmallIcon" + android:resource="@drawable/ic_notification" /> <meta-data android:name="com.google.android.backup.api_key" android:value="AEdPqrEAAAAI3a05VToCTlqBymJrbFGaKQMvF-bBAuLsOdavBA"/> @@ -51,6 +53,13 @@ <action android:name="android.intent.action.MAIN"/> <category android:name="android.intent.category.LAUNCHER"/> </intent-filter> + + <intent-filter> + <action android:name= + "android.media.action.MEDIA_PLAY_FROM_SEARCH" /> + <category android:name= + "android.intent.category.DEFAULT" /> + </intent-filter> </activity> <activity android:name=".activity.MainActivity" @@ -365,6 +374,10 @@ <meta-data android:name="de.danoeh.antennapod.core.glide.ApGlideModule" android:value="GlideModule" /> + + <meta-data + android:name="com.google.android.gms.car.application" + android:resource="@xml/automotive_app_desc"/> </application> </manifest> diff --git a/app/src/main/res/xml/automotive_app_desc.xml b/app/src/main/res/xml/automotive_app_desc.xml new file mode 100644 index 000000000..8f0a7c59c --- /dev/null +++ b/app/src/main/res/xml/automotive_app_desc.xml @@ -0,0 +1,4 @@ +<?xml version="1.0" encoding="utf-8"?> +<automotiveApp xmlns:android="http://schemas.android.com/apk/res/android"> + <uses name="media"/> +</automotiveApp>
\ No newline at end of file |