Commit 44affd66 authored by Geoffrey Métais's avatar Geoffrey Métais

PopupManager: Prevent NPE

(cherry picked from commit 57ede658)
parent 41e649a9
......@@ -163,6 +163,7 @@ public class PopupManager implements PlaybackService.Callback, GestureDetector.O
@Override
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