Make player foreground playback-specific in manifest
This commit is contained in:
parent
bc8954fbba
commit
bd34c7ede3
1 changed files with 3 additions and 2 deletions
|
@ -45,7 +45,8 @@
|
||||||
|
|
||||||
<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>
|
||||||
|
|
Loading…
Reference in a new issue