feat: add Android Auto automotive_app.xml and update service manifest
Made-with: Cursor
This commit is contained in:
@@ -30,7 +30,16 @@
|
|||||||
|
|
||||||
<service
|
<service
|
||||||
android:name=".service.RadioPlaybackService"
|
android:name=".service.RadioPlaybackService"
|
||||||
android:exported="false"
|
android:exported="true"
|
||||||
android:foregroundServiceType="mediaPlayback" />
|
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>
|
</application>
|
||||||
</manifest>
|
</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