PlaybackService now raises audio volume after it has regained audio

focus
This commit is contained in:
daniel oeh 2012-09-05 14:26:28 +02:00
parent 42a5641439
commit b2ee91aea2

View File

@ -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;