summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packages/SystemUI/src/com/android/systemui/authentication/data/repository/AuthenticationRepository.kt3
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/authentication/data/repository/AuthenticationRepository.kt b/packages/SystemUI/src/com/android/systemui/authentication/data/repository/AuthenticationRepository.kt
index 6635d8b06a5d..a061d38d0c18 100644
--- a/packages/SystemUI/src/com/android/systemui/authentication/data/repository/AuthenticationRepository.kt
+++ b/packages/SystemUI/src/com/android/systemui/authentication/data/repository/AuthenticationRepository.kt
@@ -215,7 +215,8 @@ constructor(
override val isAutoConfirmFeatureEnabled: StateFlow<Boolean> =
refreshingFlow(
- initialValue = false,
+ initialValue =
+ lockPatternUtils.isAutoPinConfirmEnabled(userRepository.getSelectedUserInfo().id),
getFreshValue = lockPatternUtils::isAutoPinConfirmEnabled,
)