Update PlayQueueActivity.java
This commit is contained in:
parent
6e81f2430b
commit
4904b48f5c
|
@ -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, m);
|
||||||
getMenuInflater().inflate(R.menu.menu_play_queue_bg, m);
|
getMenuInflater().inflate(R.menu.menu_play_queue_bg, m);
|
||||||
onMaybeMuteChanged();
|
onMaybeMuteChanged();
|
||||||
|
// to avoid null reference
|
||||||
|
if (player != null) {
|
||||||
onPlaybackParameterChanged(player.getPlaybackParameters());
|
onPlaybackParameterChanged(player.getPlaybackParameters());
|
||||||
|
}
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue