1
0
mirror of https://github.com/TeamNewPipe/NewPipe.git synced 2024-11-25 04:22:30 +01: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
commit 83b198f6fe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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,