Commit 73035f27 authored by Geoffrey Métais's avatar Geoffrey Métais

Video player: prevent NPE on switch to popup

parent f11fa0f8
......@@ -596,7 +596,7 @@ public class VideoPlayerActivity extends AppCompatActivity implements IVLCVout.C
public void switchToPopup() {
final MediaWrapper mw = mService.getCurrentMediaWrapper();
final MediaWrapper mw = mService != null ? mService.getCurrentMediaWrapper() : null;
if (mw == null)
if (AndroidDevices.hasPiP) {
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment