Loading packages/SystemUI/src/com/android/systemui/bouncer/ui/viewmodel/AuthMethodBouncerViewModel.kt +5 −2 Original line number Diff line number Diff line Loading @@ -102,9 +102,12 @@ sealed class AuthMethodBouncerViewModel( * * @see BouncerInteractor.authenticate */ protected fun tryAuthenticate(useAutoConfirm: Boolean = false) { protected fun tryAuthenticate( input: List<Any> = getInput(), useAutoConfirm: Boolean = false, ) { viewModelScope.launch { val authenticationResult = interactor.authenticate(getInput(), useAutoConfirm) val authenticationResult = interactor.authenticate(input, useAutoConfirm) if (authenticationResult == AuthenticationResult.SKIPPED && useAutoConfirm) { return@launch } Loading packages/SystemUI/src/com/android/systemui/bouncer/ui/viewmodel/PatternBouncerViewModel.kt +2 −1 Original line number Diff line number Diff line Loading @@ -166,7 +166,8 @@ class PatternBouncerViewModel( interactor.onFalseUserInput() } tryAuthenticate() clearInput() tryAuthenticate(input = pattern) } override fun clearInput() { Loading Loading
packages/SystemUI/src/com/android/systemui/bouncer/ui/viewmodel/AuthMethodBouncerViewModel.kt +5 −2 Original line number Diff line number Diff line Loading @@ -102,9 +102,12 @@ sealed class AuthMethodBouncerViewModel( * * @see BouncerInteractor.authenticate */ protected fun tryAuthenticate(useAutoConfirm: Boolean = false) { protected fun tryAuthenticate( input: List<Any> = getInput(), useAutoConfirm: Boolean = false, ) { viewModelScope.launch { val authenticationResult = interactor.authenticate(getInput(), useAutoConfirm) val authenticationResult = interactor.authenticate(input, useAutoConfirm) if (authenticationResult == AuthenticationResult.SKIPPED && useAutoConfirm) { return@launch } Loading
packages/SystemUI/src/com/android/systemui/bouncer/ui/viewmodel/PatternBouncerViewModel.kt +2 −1 Original line number Diff line number Diff line Loading @@ -166,7 +166,8 @@ class PatternBouncerViewModel( interactor.onFalseUserInput() } tryAuthenticate() clearInput() tryAuthenticate(input = pattern) } override fun clearInput() { Loading