Merge pull request #10493 from nextcloud/dependabot/gradle/kotlin_version-1.7.10

Bump kotlin_version from 1.6.21 to 1.7.10
This commit is contained in:
Álvaro Brey 2022-09-23 10:30:51 +02:00 committed by GitHub
commit 152190803e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -121,7 +121,7 @@ class PassCodeManager(private val preferences: AppPreferences, private val clock
visibleActivitiesCounter--
}
val powerMgr = activity.getSystemService(Context.POWER_SERVICE) as PowerManager
if ((isPassCodeEnabled() || deviceCredentialsAreEnabled(activity)) && !powerMgr?.isScreenOn) {
if ((isPassCodeEnabled() || deviceCredentialsAreEnabled(activity)) && !powerMgr.isScreenOn) {
activity.moveTaskToBack(true)
}
}

View file

@ -1,7 +1,7 @@
buildscript {
ext {
jacoco_version = '0.8.8'
kotlin_version = '1.6.21'
kotlin_version = '1.7.10'
androidxTestVersion = "1.4.0"
daggerVersion = "2.43.2"
markwonVersion = "4.6.2"