Skip to content

Commit

Permalink
fix bug: AudioScanner
Browse files Browse the repository at this point in the history
  • Loading branch information
jrfeng committed Apr 24, 2021
1 parent 5d917b8 commit 45a3e61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion player/src/main/java/snow/player/util/AudioScanner.java
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ public void subscribe(@io.reactivex.annotations.NonNull SingleEmitter<List<T>> e
}

notifyProgressUpdate(Math.round(progress * 1.0F / cursor.getCount()));
} while (cursor.moveToNext() || !mCancelled.get());
} while (cursor.moveToNext() && !mCancelled.get());

cursor.close();

Expand Down

0 comments on commit 45a3e61

Please sign in to comment.