mirror of
https://github.com/TeamNewPipe/NewPipe
synced 2025-01-08 16:30:34 +00:00
Merge pull request #8244 from seanzzy/issue-8058
Fix crash when open NewPipe from notification bar
This commit is contained in:
commit
53bf3420e7
@ -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();
|
||||||
onPlaybackParameterChanged(player.getPlaybackParameters());
|
// to avoid null reference
|
||||||
|
if (player != null) {
|
||||||
|
onPlaybackParameterChanged(player.getPlaybackParameters());
|
||||||
|
}
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user