fix(android): exit fullscreen mode after finishing video playback (#3978)

This commit is contained in:
Seyed Mostafa Hasani 2024-07-15 13:34:19 +03:30 committed by GitHub
parent 5abc223db8
commit 4b8d09e61f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1283,9 +1283,6 @@ public class ReactExoplayerView extends FrameLayout implements
} }
private void onStopPlayback() { private void onStopPlayback() {
if (isFullscreen) {
setFullscreen(false);
}
audioManager.abandonAudioFocus(audioFocusChangeListener); audioManager.abandonAudioFocus(audioFocusChangeListener);
} }