summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Treehugger Robot <android-test-infra-autosubmit@system.gserviceaccount.com> 2025-01-15 16:18:56 -0800
committer Android (Google) Code Review <android-gerrit@google.com> 2025-01-15 16:18:56 -0800
commitfffd3d56cc32de929259faa92765b605447c1033 (patch)
tree8f9a96c762db6d963e34200e6e7475cff0f3aac0
parent67ce0caeead84e51aea14fb489b1295895a564bd (diff)
parent92e49d7ab61a85979ecc1e481e8d81fb9e532413 (diff)
Merge "[flexiglass] Initial isAutoConfirmFeatureEnabled to correct value" into main
-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,
)