Make player foreground playback-specific in manifest

This commit is contained in:
Stypox 2020-09-08 21:59:39 +02:00
parent bc8954fbba
commit bd34c7ede3
No known key found for this signature in database
GPG Key ID: 4BDF1B40A49FDD23
1 changed files with 3 additions and 2 deletions

View File

@ -44,8 +44,9 @@
</receiver>
<service
android:name=".player.MainPlayer"
android:exported="false">
android:name=".player.MainPlayer"
android:exported="false"
android:foregroundServiceType="mediaPlayback">
<intent-filter>
<action android:name="android.intent.action.MEDIA_BUTTON" />
</intent-filter>