mirror of
https://github.com/Michatec/Radio.git
synced 2026-05-31 03:02:39 +02:00
refactor(media): move MEDIA_BUTTON action to MediaSessionService
This commit is contained in:
@@ -136,6 +136,7 @@
|
|||||||
<intent-filter>
|
<intent-filter>
|
||||||
<action android:name="androidx.media3.session.MediaSessionService" />
|
<action android:name="androidx.media3.session.MediaSessionService" />
|
||||||
<action android:name="android.media.browse.MediaBrowserService" />
|
<action android:name="android.media.browse.MediaBrowserService" />
|
||||||
|
<action android:name="android.intent.action.MEDIA_BUTTON" />
|
||||||
<action android:name="com.michatec.radio.action.START_PLAYER_SERVICE" />
|
<action android:name="com.michatec.radio.action.START_PLAYER_SERVICE" />
|
||||||
</intent-filter>
|
</intent-filter>
|
||||||
</service>
|
</service>
|
||||||
@@ -148,14 +149,6 @@
|
|||||||
</intent-filter>
|
</intent-filter>
|
||||||
</receiver>
|
</receiver>
|
||||||
|
|
||||||
<receiver
|
|
||||||
android:name="androidx.media.session.MediaButtonReceiver"
|
|
||||||
android:exported="true">
|
|
||||||
<intent-filter>
|
|
||||||
<action android:name="android.intent.action.MEDIA_BUTTON" />
|
|
||||||
</intent-filter>
|
|
||||||
</receiver>
|
|
||||||
|
|
||||||
<provider
|
<provider
|
||||||
android:name="androidx.core.content.FileProvider"
|
android:name="androidx.core.content.FileProvider"
|
||||||
android:authorities="${applicationId}.provider"
|
android:authorities="${applicationId}.provider"
|
||||||
|
|||||||
Reference in New Issue
Block a user