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

VideoPlayer: Prevent NPE

parent 3401410d
Branches master
No related tags found
No related merge requests found
......@@ -539,7 +539,7 @@ public class VideoPlayerActivity extends AppCompatActivity implements IPlaybackS
message = R.string.locked_in_landscape_mode;
else
message = R.string.locked_in_portrait_mode;
UiTools.snacker(mRootView, message);
if (mRootView != null) UiTools.snacker(mRootView, message);
}
if (mTouchDelegate != null) {
......
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