diff --git a/mastodon/src/main/AndroidManifest.xml b/mastodon/src/main/AndroidManifest.xml
index cd80f1ed22..6fed73c8c8 100644
--- a/mastodon/src/main/AndroidManifest.xml
+++ b/mastodon/src/main/AndroidManifest.xml
@@ -5,7 +5,8 @@
-
+
+
diff --git a/mastodon/src/main/java/org/joinmastodon/android/AudioPlayerService.java b/mastodon/src/main/java/org/joinmastodon/android/AudioPlayerService.java
index 067446d3ed..94f06fc177 100644
--- a/mastodon/src/main/java/org/joinmastodon/android/AudioPlayerService.java
+++ b/mastodon/src/main/java/org/joinmastodon/android/AudioPlayerService.java
@@ -88,8 +88,13 @@ public void onCreate(){
nm=getSystemService(NotificationManager.class);
// registerReceiver(receiver, new IntentFilter(Intent.ACTION_MEDIA_BUTTON));
registerReceiver(receiver, new IntentFilter(AudioManager.ACTION_AUDIO_BECOMING_NOISY));
- registerReceiver(receiver, new IntentFilter(ACTION_PLAY_PAUSE));
- registerReceiver(receiver, new IntentFilter(ACTION_STOP));
+ if(Build.VERSION.SDK_INT>=Build.VERSION_CODES.TIRAMISU){
+ registerReceiver(receiver, new IntentFilter(ACTION_PLAY_PAUSE), RECEIVER_EXPORTED);
+ registerReceiver(receiver, new IntentFilter(ACTION_STOP), RECEIVER_EXPORTED);
+ }else{
+ registerReceiver(receiver, new IntentFilter(ACTION_PLAY_PAUSE));
+ registerReceiver(receiver, new IntentFilter(ACTION_STOP));
+ }
instance=this;
}