Merge pull request #2657 from ByteHamster/more-invalid-positions

Ignore more invalid positions
This commit is contained in:
Martin Fietz 2018-04-22 09:58:02 +02:00 committed by GitHub
commit a4a7c9ebb9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -124,8 +124,7 @@ public class ExternalPlayerFragment extends Fragment {
public void onResume() {
super.onResume();
controller.init();
mProgressBar.setProgress((int)
((double) controller.getPosition() / controller.getDuration() * 100));
onPositionObserverUpdate();
}
@Override