Skip to content
Snippets Groups Projects
Verified Commit 620f5a04 authored by Kai DeLorenzo's avatar Kai DeLorenzo :purple_heart:
Browse files

prevent going into full screen when entering pip mode

parent 7c9e9d5f
No related branches found
No related tags found
1 merge request!55prevent going into full screen when entering pip mode
......@@ -2582,7 +2582,6 @@ class VideoDetailView : ConstraintLayout {
_overlayContainer.removeAllViews();
_overlay_quality_selector?.hide();
_player.setFullScreen(true)
_player.fillHeight(false)
_layoutPlayerContainer.setPadding(0, 0, 0, 0);
}
......@@ -2797,7 +2796,7 @@ class VideoDetailView : ConstraintLayout {
super.onConfigurationChanged(newConfig)
if (fragment.state == VideoDetailFragment.State.MINIMIZED) {
_player.fillHeight(true)
} else if (!fragment.isFullscreen) {
} else if (!fragment.isFullscreen && !fragment.isInPictureInPicture) {
_player.fitHeight()
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment