Merge branch 'master' into fix-search-hidden

This commit is contained in:
Naveen Singh 2024-03-07 15:39:29 +05:30 committed by GitHub
commit a7e7f3477c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 5 additions and 1 deletions

View file

@ -108,6 +108,7 @@ dependencies {
implementation(libs.androidx.swiperefreshlayout)
implementation(libs.awebp)
implementation(libs.apng)
implementation(libs.avif.integration)
implementation(libs.okio)
implementation(libs.picasso) {
exclude(group = "com.squareup.okhttp3", module = "okhttp")

View file

@ -406,7 +406,9 @@ class ViewPagerActivity : SimpleActivity(), ViewPager.OnPageChangeListener, View
}
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
} else if (visibility and View.SYSTEM_UI_FLAG_LOW_PROFILE == 0) {
false

View file

@ -68,6 +68,7 @@ awebp = { module = "com.github.penfeizhou.android.animation:awebp", version.ref
glide-compiler = { module = "com.github.bumptech.glide:ksp", version.ref = "glideCompiler" }
zjupure-webpdecoder = { module = "com.github.zjupure:webpdecoder", version.ref = "zjupureWebpdecoder" }
picasso = { module = "com.squareup.picasso:picasso", version.ref = "picasso" }
avif-integration = { group = "com.github.bumptech.glide", name = "avif-integration", version.ref = "glideCompiler" }
[bundles]
room = [
"androidx-room-ktx",