Merge branch 'master' of git://github.com/brettle/AntennaPod into brettle-master
This commit is contained in:
commit
cb27c28c09
|
@ -875,14 +875,14 @@ public class PlaybackService extends Service {
|
|||
if (AppConfig.DEBUG)
|
||||
Log.d(TAG, "Pausing playback.");
|
||||
player.pause();
|
||||
cancelPositionSaver();
|
||||
saveCurrentPosition();
|
||||
setStatus(PlayerStatus.PAUSED);
|
||||
if (abandonFocus) {
|
||||
audioManager.abandonAudioFocus(audioFocusChangeListener);
|
||||
pausedBecauseOfTransientAudiofocusLoss = false;
|
||||
disableSleepTimer();
|
||||
}
|
||||
cancelPositionSaver();
|
||||
saveCurrentPosition();
|
||||
setStatus(PlayerStatus.PAUSED);
|
||||
stopWidgetUpdater();
|
||||
stopForeground(true);
|
||||
if (shouldStream && reinit) {
|
||||
|
|
Loading…
Reference in New Issue