Commit 0bae1653 authored by Thomas Guillem's avatar Thomas Guillem

VideoPlayerActivity: remove useless null check

parent 84795738
......@@ -952,7 +952,7 @@ public class VideoPlayerActivity extends AppCompatActivity implements IVLCVout.C
vlcVout.removeCallback(this);
vlcVout.detachViews();
if (mService.hasMedia() && mSwitchingView && mService != null) {
if (mService.hasMedia() && mSwitchingView) {
Log.d(TAG, "mLocation = \"" + mUri + "\"");
if (mSwitchToPopup)
mService.switchToPopup(mService.getCurrentMediaPosition());
......
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