Naveen 2024-02-28 13:12:17 +05:30
parent cbe9894d41
commit 67c5302e0b
No known key found for this signature in database
GPG key ID: 0E155DAD31671DA3

View file

@ -406,7 +406,9 @@ class ViewPagerActivity : SimpleActivity(), ViewPager.OnPageChangeListener, View
} }
window.decorView.setOnSystemUiVisibilityChangeListener { visibility -> window.decorView.setOnSystemUiVisibilityChangeListener { visibility ->
mIsFullScreen = if (isNougatPlus() && isInMultiWindowMode) { mIsFullScreen = if (isUpsideDownCakePlus()) {
visibility and View.SYSTEM_UI_FLAG_LOW_PROFILE != 0
} else if (isNougatPlus() && isInMultiWindowMode) {
visibility and View.SYSTEM_UI_FLAG_LOW_PROFILE != 0 visibility and View.SYSTEM_UI_FLAG_LOW_PROFILE != 0
} else if (visibility and View.SYSTEM_UI_FLAG_LOW_PROFILE == 0) { } else if (visibility and View.SYSTEM_UI_FLAG_LOW_PROFILE == 0) {
false false