Reset playback volume when going to sleep
This commit is contained in:
parent
5b90ba9133
commit
59f257a678
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue