Prevent overflow when computing seek bar position for very long songs
This fixes issue #34
This commit is contained in:
parent
de0f4a9b7a
commit
e6101d6969
@ -345,7 +345,7 @@ public class FullPlaybackActivity extends PlaybackActivity
|
||||
*/
|
||||
private void updateProgress()
|
||||
{
|
||||
int position = PlaybackService.hasInstance() ? PlaybackService.get(this).getPosition() : 0;
|
||||
long position = PlaybackService.hasInstance() ? PlaybackService.get(this).getPosition() : 0;
|
||||
|
||||
if (!mSeekBarTracking) {
|
||||
long duration = mDuration;
|
||||
|
Loading…
x
Reference in New Issue
Block a user