-Designated background player as default media button receiver.
-Fixed media button intent causing illegal state exception when sent from external apps.
This commit is contained in:
parent
238bff1fee
commit
74199c8624
3 changed files with 20 additions and 10 deletions
|
|
@ -42,7 +42,11 @@
|
|||
|
||||
<service
|
||||
android:name=".player.BackgroundPlayer"
|
||||
android:exported="false"/>
|
||||
android:exported="false">
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.MEDIA_BUTTON" />
|
||||
</intent-filter>
|
||||
</service>
|
||||
|
||||
<activity
|
||||
android:name=".player.BackgroundPlayerActivity"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue