Don't update the seek bar position when not playing

This commit is contained in:
Christopher Eby 2010-04-23 11:06:37 -05:00
parent 3eec11e821
commit 669ecb4dd3

View File

@ -284,7 +284,7 @@ public class FullPlaybackActivity extends PlaybackActivity implements View.OnCli
private void updateProgress()
{
if (mControlsTop.getVisibility() != View.VISIBLE)
if (mControlsTop.getVisibility() != View.VISIBLE || (mState & PlaybackService.FLAG_PLAYING) == 0)
return;
int position = 0;