diff --git a/android/src/main/java/com/brentvatne/exoplayer/FullScreenPlayerView.kt b/android/src/main/java/com/brentvatne/exoplayer/FullScreenPlayerView.kt index 1b9b1ce3..e6bad1b0 100644 --- a/android/src/main/java/com/brentvatne/exoplayer/FullScreenPlayerView.kt +++ b/android/src/main/java/com/brentvatne/exoplayer/FullScreenPlayerView.kt @@ -82,10 +82,6 @@ class FullScreenPlayerView( ?.isVisible(WindowInsetsCompat.Type.statusBars()) == true } } - override fun onBackPressed() { - super.onBackPressed() - onBackPressedCallback.handleOnBackPressed() - } override fun onStart() { super.onStart() @@ -112,6 +108,7 @@ class FullScreenPlayerView( } parent?.requestLayout() parent = null + onBackPressedCallback.handleOnBackPressed() restoreSystemUI() }