fix(android): exit fullscreen mode after finishing video playback (#3978)
This commit is contained in:
parent
5abc223db8
commit
4b8d09e61f
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user