From 8cbbb1334f2c90416000c806bbb978768792b924 Mon Sep 17 00:00:00 2001 From: ahmetberkinc Date: Tue, 12 Oct 2021 12:41:10 +0300 Subject: [PATCH] pausePlayback() function deleted because it was causing play/pause problem when content playing fullscreen https://github.com/react-native-video/react-native-video/issues/2130 --- .../main/java/com/brentvatne/exoplayer/ReactExoplayerView.java | 3 --- 1 file changed, 3 deletions(-) diff --git a/android-exoplayer/src/main/java/com/brentvatne/exoplayer/ReactExoplayerView.java b/android-exoplayer/src/main/java/com/brentvatne/exoplayer/ReactExoplayerView.java index 2a86b7e5..819f7633 100644 --- a/android-exoplayer/src/main/java/com/brentvatne/exoplayer/ReactExoplayerView.java +++ b/android-exoplayer/src/main/java/com/brentvatne/exoplayer/ReactExoplayerView.java @@ -701,9 +701,6 @@ class ReactExoplayerView extends FrameLayout implements switch (focusChange) { case AudioManager.AUDIOFOCUS_LOSS: eventEmitter.audioFocusChanged(false); - //ANDROID FULLSCREEN PLAY/PAUSE PROBLEM FIXED [Ahmet Berk İnçoğlu](https://github.com/ahmetberkinc) - //https://github.com/react-native-video/react-native-video/issues/2130 - // pausePlayback(); audioManager.abandonAudioFocus(this); break; case AudioManager.AUDIOFOCUS_LOSS_TRANSIENT: