From 4b8d09e61f79a319ba5816dd342b5c0fd02d6e07 Mon Sep 17 00:00:00 2001 From: Seyed Mostafa Hasani Date: Mon, 15 Jul 2024 13:34:19 +0330 Subject: [PATCH] fix(android): exit fullscreen mode after finishing video playback (#3978) --- .../main/java/com/brentvatne/exoplayer/ReactExoplayerView.java | 3 --- 1 file changed, 3 deletions(-) diff --git a/android/src/main/java/com/brentvatne/exoplayer/ReactExoplayerView.java b/android/src/main/java/com/brentvatne/exoplayer/ReactExoplayerView.java index 4bb05cdc..4841d5c0 100644 --- a/android/src/main/java/com/brentvatne/exoplayer/ReactExoplayerView.java +++ b/android/src/main/java/com/brentvatne/exoplayer/ReactExoplayerView.java @@ -1283,9 +1283,6 @@ public class ReactExoplayerView extends FrameLayout implements } private void onStopPlayback() { - if (isFullscreen) { - setFullscreen(false); - } audioManager.abandonAudioFocus(audioFocusChangeListener); }