Skip to content
Snippets Groups Projects
Commit 44affd66 authored by Geoffrey Métais's avatar Geoffrey Métais
Browse files

PopupManager: Prevent NPE

(cherry picked from commit 57ede658)
parent 41e649a9
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment