Fix NPE when connecting via BT
This commit is contained in:
parent
c398308872
commit
201e5ee09d
|
@ -2160,7 +2160,10 @@ public final class Player implements
|
||||||
|
|
||||||
private void onCompleted() {
|
private void onCompleted() {
|
||||||
if (DEBUG) {
|
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,
|
animate(binding.playPauseButton, false, 0, AnimationType.SCALE_AND_ALPHA, 0,
|
||||||
|
|
Loading…
Reference in New Issue