Update core-splashscreen (#9629)

This commit is contained in:
Ivan Iskandar 2023-06-23 08:59:17 +07:00 committed by GitHub
parent b8af1621b5
commit b4393ff741
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 2 additions and 3 deletions

View file

@ -4,7 +4,6 @@
],
"schedule": ["every sunday"],
"ignoreDeps": [
"androidx.core:core-splashscreen",
"com.android.tools:r8",
"com.google.guava:guava"
]

View file

@ -262,7 +262,7 @@ class MainActivity : BaseActivity() {
}
val startTime = System.currentTimeMillis()
splashScreen?.setKeepVisibleCondition {
splashScreen?.setKeepOnScreenCondition {
val elapsed = System.currentTimeMillis() - startTime
elapsed <= SPLASH_MIN_DURATION || (!ready && elapsed <= SPLASH_MAX_DURATION)
}

View file

@ -11,7 +11,7 @@ appcompat = "androidx.appcompat:appcompat:1.6.1"
biometricktx = "androidx.biometric:biometric-ktx:1.2.0-alpha05"
constraintlayout = "androidx.constraintlayout:constraintlayout:2.1.4"
corektx = "androidx.core:core-ktx:1.11.0-beta02"
splashscreen = "androidx.core:core-splashscreen:1.0.0-alpha02"
splashscreen = "androidx.core:core-splashscreen:1.0.1"
recyclerview = "androidx.recyclerview:recyclerview:1.3.1-rc01"
viewpager = "androidx.viewpager:viewpager:1.1.0-alpha01"
glance = "androidx.glance:glance-appwidget:1.0.0-beta01"