Commit 57ede658 authored by Geoffrey Métais's avatar Geoffrey Métais

PopupManager: Prevent NPE

parent 50c8e8d0
......@@ -163,6 +163,7 @@ public class PopupManager implements PlaybackService.Callback, GestureDetector.O
public void onNewVideoLayout(IVLCVout vlcVout, int width, int height,
int visibleWidth, int visibleHeight, int sarNum, int sarDen) {
if (mRootView == null) return;
int displayW = mRootView.getWidth(), displayH = mRootView.getHeight();
// sanity check
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