Merge pull request #3569 from PtilopsisLeucotis/fix-progress-string-on-widget
Fix incorrect progress string on widget
This commit is contained in:
commit
091d2bb438
|
@ -219,7 +219,7 @@ public class PlayerWidgetJobService extends SafeJobIntentService {
|
|||
}
|
||||
|
||||
private String getProgressString(int position, int duration, float speed) {
|
||||
if (position > 0 && duration > 0) {
|
||||
if (position >= 0 && duration > 0) {
|
||||
TimeSpeedConverter converter = new TimeSpeedConverter(speed);
|
||||
position = converter.convert(position);
|
||||
duration = converter.convert(duration);
|
||||
|
|
Loading…
Reference in New Issue