mirror of
https://github.com/AntennaPod/AntennaPod.git
synced 2025-01-19 12:23:22 +01:00
PlaybackService now raises audio volume after it has regained audio
focus
This commit is contained in:
parent
42a5641439
commit
b2ee91aea2
@ -233,6 +233,7 @@ public class PlaybackService extends Service {
|
||||
if (AppConfig.DEBUG)
|
||||
Log.d(TAG, "Gained audio focus");
|
||||
if (pausedBecauseOfTransientAudiofocusLoss) {
|
||||
audioManager.adjustStreamVolume(AudioManager.STREAM_MUSIC, AudioManager.ADJUST_RAISE, 0);
|
||||
play();
|
||||
}
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user