Merge branch 'master' of git://github.com/brettle/AntennaPod into brettle-master

This commit is contained in:
daniel oeh 2013-08-14 14:53:42 +02:00
commit cb27c28c09
1 changed files with 3 additions and 3 deletions

View File

@ -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) {