feat: add Android Auto automotive_app.xml and update service manifest
Made-with: Cursor
This commit is contained in:
@@ -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>
|
||||
|
||||
4
app/src/main/res/xml/automotive_app.xml
Normal file
4
app/src/main/res/xml/automotive_app.xml
Normal file
@@ -0,0 +1,4 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<automotiveApp>
|
||||
<uses name="media"/>
|
||||
</automotiveApp>
|
||||
Reference in New Issue
Block a user