Ignore more invalid positions

This commit is contained in:
ByteHamster 2018-04-22 09:37:54 +02:00
parent c9a2bbc2c9
commit d78191c8e8
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