Fixed a bug where Android Auto didn't have access to the MediaBrowser

service and media control buttons
This commit is contained in:
Carlos Pérez
2022-06-13 14:40:18 -03:00
parent 87ccf23d90
commit bfb51608d8

View File

@@ -46,7 +46,7 @@
<service
android:name=".MediaBrowser"
android:exported="true"
android:permission="android.permission.MEDIA_CONTENT_CONTROL">
tools:ignore="ExportedService">
<intent-filter>
<action android:name="android.media.browse.MediaBrowserService" />
</intent-filter>
@@ -57,7 +57,7 @@
android:enabled="true"
android:foregroundServiceType="mediaPlayback"
android:exported="true"
android:permission="android.permission.MEDIA_CONTENT_CONTROL">
tools:ignore="ExportedService">
<intent-filter>
<action android:name="android.media.action.MEDIA_PLAY_FROM_SEARCH" />
<category android:name="android.intent.category.DEFAULT" />