Commit 3f2f58e0 authored by Geoffrey Métais's avatar Geoffrey Métais

Video player: Fix nullity check

parent 6d5c91b9
......@@ -470,7 +470,7 @@ public class VideoPlayerActivity extends AppCompatActivity implements IPlaybackS
&& AndroidDevices.isAndroidTv && !requestVisibleBehind(true)))
stopPlayback();
else if (!mShowingDialog && "2".equals(mSettings.getString(PreferencesActivity.KEY_VIDEO_APP_SWITCH, "0"))
&& isInteractive() && (mService == null || !mService.hasRenderer())) {
&& isInteractive() && (mService != null && !mService.hasRenderer())) {
switchToPopup();
}
}
......
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