mirror of
https://gitlab.futo.org/videostreaming/grayjay.git
synced 2025-04-19 19:14:51 +00:00
Merge branch 'fix-fullscreen-from-pip' into 'master'
prevent going into full screen when entering pip mode See merge request videostreaming/grayjay!55
This commit is contained in:
commit
3b457f87c4
1 changed files with 1 additions and 2 deletions
|
@ -2587,7 +2587,6 @@ class VideoDetailView : ConstraintLayout {
|
|||
_overlayContainer.removeAllViews();
|
||||
_overlay_quality_selector?.hide();
|
||||
|
||||
_player.setFullScreen(true)
|
||||
_player.fillHeight(false)
|
||||
_layoutPlayerContainer.setPadding(0, 0, 0, 0);
|
||||
}
|
||||
|
@ -2802,7 +2801,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