Made sure that statusBeforeSeeking does not become SEEKING

This commit is contained in:
daniel oeh 2012-09-16 13:10:09 +02:00
parent 4bd3aec642
commit 56d29bd44c
1 changed files with 3 additions and 1 deletions

View File

@ -752,7 +752,9 @@ public class PlaybackService extends Service {
if (AppConfig.DEBUG)
Log.d(TAG, "Seeking position " + i);
if (shouldStream) {
statusBeforeSeek = status;
if (status != PlayerStatus.SEEKING) {
statusBeforeSeek = status;
}
setStatus(PlayerStatus.SEEKING);
}
player.seekTo(i);