1
0
mirror of https://github.com/TeamNewPipe/NewPipe synced 2025-10-13 14:47:38 +00:00

Merge pull request #6570 from Redirion/fixnpe

Fix NPE when connecting via BT
This commit is contained in:
Tobi
2021-07-03 11:18:02 +02:00
committed by GitHub

View File

@@ -2160,7 +2160,10 @@ public final class Player implements
private void onCompleted() {
if (DEBUG) {
Log.d(TAG, "onCompleted() called");
Log.d(TAG, "onCompleted() called" + (playQueue == null ? ". playQueue is null" : ""));
}
if (playQueue == null) {
return;
}
animate(binding.playPauseButton, false, 0, AnimationType.SCALE_AND_ALPHA, 0,