diff --git a/android/src/main/java/com/brentvatne/exoplayer/ReactExoplayerView.java b/android/src/main/java/com/brentvatne/exoplayer/ReactExoplayerView.java index 69569287b5..359399cc8b 100644 --- a/android/src/main/java/com/brentvatne/exoplayer/ReactExoplayerView.java +++ b/android/src/main/java/com/brentvatne/exoplayer/ReactExoplayerView.java @@ -383,7 +383,9 @@ public void onHostPause() { enterPictureInPictureMode(); return; } - if (playInBackground || isInPictureInPicture) { + Activity activity = themedReactContext.getCurrentActivity(); + boolean isInMultiWindowMode = Util.SDK_INT >= 24 && (activity.isInMultiWindowMode()); + if (playInBackground || isInPictureInPicture || isInMultiWindowMode) { return; } setPlayWhenReady(false);