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

View file

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