Skip to content

Commit

Permalink
Fix artist null bug (#380)
Browse files Browse the repository at this point in the history
  • Loading branch information
siper authored Feb 16, 2025
1 parent 7739768 commit 44c518d
Show file tree
Hide file tree
Showing 8 changed files with 28 additions and 666 deletions.
16 changes: 16 additions & 0 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,22 @@
android:usesCleartextTraffic="true"
tools:targetApi="31">

<meta-data
android:name="com.google.android.gms.car.application"
android:resource="@xml/automotive_app_desc" />

<service
android:name="ru.stersh.youamp.shared.player.android.MusicService"
android:enabled="true"
android:exported="true"
android:foregroundServiceType="mediaPlayback">
<intent-filter>
<action android:name="androidx.media3.session.MediaLibraryService" />
<action android:name="android.media.browse.MediaBrowserService" />
<action android:name="android.media.action.MEDIA_PLAY_FROM_SEARCH" />
</intent-filter>
</service>

<activity
android:name=".main.ui.MainActivity"
android:exported="true"
Expand Down
19 changes: 0 additions & 19 deletions shared/player/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,23 +6,4 @@
<uses-permission android:name="android.permission.FOREGROUND_SERVICE_MEDIA_PLAYBACK" />
<uses-permission android:name="android.permission.WAKE_LOCK" />

<application>

<meta-data
android:name="com.google.android.gms.car.application"
android:resource="@xml/automotive_app_desc" />

<service
android:name="ru.stersh.youamp.shared.player.android.MusicService"
android:enabled="true"
android:exported="true"
android:foregroundServiceType="mediaPlayback"
android:permission="android.permission.BIND_MEDIA_BROWSER_SERVICE">
<intent-filter>
<action android:name="androidx.media3.session.MediaLibraryService" />
<action android:name="android.media.browse.MediaBrowserService" />
<action android:name="android.media.action.MEDIA_PLAY_FROM_SEARCH" />
</intent-filter>
</service>
</application>
</manifest>
Loading

0 comments on commit 44c518d

Please sign in to comment.