fix(android): system controls are not hidden when going back to app (#4675)

This commit is contained in:
Krzysztof Moch
2025-09-07 21:31:59 +02:00
committed by GitHub
parent f929d56a87
commit a97b75b935
@@ -56,6 +56,14 @@ class FullscreenVideoFragment(private val videoView: VideoView) : Fragment() {
return this.container
}
override fun onResume() {
super.onResume()
// System UI is re-enabled when user have exited app and go back
// We need to hide it again
hideSystemUI()
}
override fun onViewCreated(view: View, savedInstanceState: Bundle?) {
super.onViewCreated(view, savedInstanceState)