mirror of
https://gitlab.futo.org/videostreaming/grayjay.git
synced 2025-04-19 19:14:51 +00:00
prevent going into full screen when entering pip mode
This commit is contained in:
parent
7c9e9d5f52
commit
620f5a0459
1 changed files with 1 additions and 2 deletions
|
@ -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()
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue