chore(android): remove onBackPressed function in FullScreenPlayerView (#4049)
Co-authored-by: Olivier Bouillet <62574056+freeboub@users.noreply.github.com>
This commit is contained in:
parent
bee4123402
commit
4a2beaa147
@ -82,10 +82,6 @@ class FullScreenPlayerView(
|
|||||||
?.isVisible(WindowInsetsCompat.Type.statusBars()) == true
|
?.isVisible(WindowInsetsCompat.Type.statusBars()) == true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
override fun onBackPressed() {
|
|
||||||
super.onBackPressed()
|
|
||||||
onBackPressedCallback.handleOnBackPressed()
|
|
||||||
}
|
|
||||||
|
|
||||||
override fun onStart() {
|
override fun onStart() {
|
||||||
super.onStart()
|
super.onStart()
|
||||||
@ -112,6 +108,7 @@ class FullScreenPlayerView(
|
|||||||
}
|
}
|
||||||
parent?.requestLayout()
|
parent?.requestLayout()
|
||||||
parent = null
|
parent = null
|
||||||
|
onBackPressedCallback.handleOnBackPressed()
|
||||||
restoreSystemUI()
|
restoreSystemUI()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user