feat: add Android Auto automotive_app.xml and update service manifest

Made-with: Cursor
This commit is contained in:
cottongin
2026-03-18 05:56:38 -04:00
parent effb498896
commit 39653462d1
2 changed files with 15 additions and 2 deletions

View File

@@ -30,7 +30,16 @@
<service
android:name=".service.RadioPlaybackService"
android:exported="false"
android:foregroundServiceType="mediaPlayback" />
android:exported="true"
android:foregroundServiceType="mediaPlayback">
<intent-filter>
<action android:name="androidx.media3.session.MediaLibraryService"/>
<action android:name="android.media.browse.MediaBrowserService"/>
</intent-filter>
</service>
<meta-data
android:name="com.google.android.gms.car.application"
android:resource="@xml/automotive_app" />
</application>
</manifest>

View File

@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<automotiveApp>
<uses name="media"/>
</automotiveApp>