chore(android): remove onBackPressed function in FullScreenPlayerView (#4049)

Co-authored-by: Olivier Bouillet <62574056+freeboub@users.noreply.github.com>
This commit is contained in:
Seyed Mostafa Hasani 2024-09-06 01:42:22 +03:30 committed by GitHub
parent bee4123402
commit 4a2beaa147
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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()
}