Only seek to last position if status is not paused

This commit is contained in:
daniel oeh 2012-09-10 12:48:18 +02:00
parent 67e97785e9
commit c3c6ed8d65
1 changed files with 3 additions and 1 deletions

View File

@ -676,7 +676,9 @@ public class PlaybackService extends Service {
editor.commit();
player.start();
player.seekTo((int) media.getPosition());
if (status != PlayerStatus.PAUSED) {
player.seekTo((int) media.getPosition());
}
setStatus(PlayerStatus.PLAYING);
setupPositionSaver();
setupWidgetUpdater();