Media attachments minor fixes

This commit is contained in:
Grishka
2023-03-23 22:36:52 +03:00
parent c833c03dc3
commit 4492e940e5
3 changed files with 22 additions and 11 deletions

View File

@@ -230,7 +230,7 @@ public class AudioPlayerService extends Service{
pause(false);
}
case AudioManager.AUDIOFOCUS_LOSS_TRANSIENT -> {
resumeAfterAudioFocusGain=true;
resumeAfterAudioFocusGain=isPlaying();
pause(false);
}
case AudioManager.AUDIOFOCUS_GAIN -> {