Skip to content

Commit 4eca0fd

Browse files
authored
Merge pull request #491 from Guillergood/master
fix(android-auto): resolve MediaBrowserService discovery on Android 14+
2 parents 3473786 + 515c257 commit 4eca0fd

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

app/src/main/AndroidManifest.xml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,12 +150,12 @@
150150
android:name=".playback.MusicService"
151151
android:exported="true"
152152
android:foregroundServiceType="mediaPlayback"
153-
android:permission="android.permission.BIND_MEDIA_BROWSER_SERVICE"
154153
tools:ignore="ExportedService">
155154
<intent-filter>
156155
<action android:name="androidx.media3.session.MediaSessionService" />
157156
<action android:name="androidx.media3.session.MediaLibraryService" />
158157
<action android:name="android.media.browse.MediaBrowserService" />
158+
<category android:name="android.intent.category.DEFAULT" />
159159
</intent-filter>
160160
</service>
161161

@@ -180,6 +180,9 @@
180180
<meta-data
181181
android:name="com.google.android.gms.car.application"
182182
android:resource="@xml/automotive_app_desc" />
183+
<meta-data
184+
android:name="androidx.car.app.TintableAttributionIcon"
185+
android:resource="@drawable/status" />
183186

184187
<activity
185188
android:name=".DebugActivity"

0 commit comments

Comments
 (0)