Merge pull request #2 from ahmetberkinc/android-fullscreen-play-pause-fix
Android fullscreen play/pause bug fixed
This commit is contained in:
commit
e7933187e2
@ -701,7 +701,6 @@ class ReactExoplayerView extends FrameLayout implements
|
||||
switch (focusChange) {
|
||||
case AudioManager.AUDIOFOCUS_LOSS:
|
||||
eventEmitter.audioFocusChanged(false);
|
||||
pausePlayback();
|
||||
audioManager.abandonAudioFocus(this);
|
||||
break;
|
||||
case AudioManager.AUDIOFOCUS_LOSS_TRANSIENT:
|
||||
|
Loading…
Reference in New Issue
Block a user