diff options
author | daniel oeh <daniel.oeh@gmail.com> | 2013-08-14 14:53:42 +0200 |
---|---|---|
committer | daniel oeh <daniel.oeh@gmail.com> | 2013-08-14 14:53:42 +0200 |
commit | cb27c28c09b3d363d2a037b40dc3b4e74fa064b7 (patch) | |
tree | a2e5a73f3bd23dbb6ceb8abda8be27f9a4830dc6 /src | |
parent | 3cf1646c91a487b1439ce0ba899b7fb11efcf40f (diff) | |
parent | 805512c4109fd5aa0f147d5d415e4b3f39cb1186 (diff) | |
download | AntennaPod-cb27c28c09b3d363d2a037b40dc3b4e74fa064b7.zip |
Merge branch 'master' of git://github.com/brettle/AntennaPod into brettle-master
Diffstat (limited to 'src')
-rw-r--r-- | src/de/danoeh/antennapod/service/PlaybackService.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/de/danoeh/antennapod/service/PlaybackService.java b/src/de/danoeh/antennapod/service/PlaybackService.java index 63a4d0471..7c306984c 100644 --- a/src/de/danoeh/antennapod/service/PlaybackService.java +++ b/src/de/danoeh/antennapod/service/PlaybackService.java @@ -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) { |