Reset playback volume when going to sleep

This commit is contained in:
Martin Fietz 2015-09-05 01:32:47 +02:00
parent 5b90ba9133
commit 59f257a678
1 changed files with 1 additions and 0 deletions

View File

@ -408,6 +408,7 @@ public class PlaybackService extends Service {
@Override
public void onSleepTimerExpired() {
mediaPlayer.pause(true, true);
mediaPlayer.setVolume(1.0f);
sendNotificationBroadcast(NOTIFICATION_TYPE_SLEEPTIMER_UPDATE, 0);
}