Merge pull request #3569 from PtilopsisLeucotis/fix-progress-string-on-widget

Fix incorrect progress string on widget
This commit is contained in:
H. Lehmann 2019-10-29 09:51:34 +01:00 committed by GitHub
commit 091d2bb438
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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);