Fix NPE when connecting via BT

This commit is contained in:
Robin 2021-06-25 09:14:15 +02:00
parent c398308872
commit 201e5ee09d
1 changed files with 4 additions and 1 deletions

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,