Update PlayQueueActivity.java

pull/8244/head
ZiyanZHANG 2022-04-17 18:15:13 +08:00
rodzic 6e81f2430b
commit 4904b48f5c
1 zmienionych plików z 4 dodań i 1 usunięć

Wyświetl plik

@ -97,7 +97,10 @@ public final class PlayQueueActivity extends AppCompatActivity
getMenuInflater().inflate(R.menu.menu_play_queue, m);
getMenuInflater().inflate(R.menu.menu_play_queue_bg, m);
onMaybeMuteChanged();
onPlaybackParameterChanged(player.getPlaybackParameters());
// to avoid null reference
if (player != null) {
onPlaybackParameterChanged(player.getPlaybackParameters());
}
return true;
}