2024-01-08 22:12:15 -05:00
|
|
|
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
|
|
From: Aaron Liu <aaronjli@google.com>
|
2024-05-08 11:49:25 -04:00
|
|
|
Date: Thu, 10 Aug 2023 15:37:24 +0000
|
|
|
|
Subject: [PATCH] Revert "DO NOT MERGE Dismiss keyguard when simpin auth'd
|
|
|
|
and..."
|
2024-01-08 22:12:15 -05:00
|
|
|
|
2024-05-08 11:49:25 -04:00
|
|
|
This reverts commit 09f004722284ef6b9790ddf9338a1708b3f0833c.
|
2024-01-08 22:12:15 -05:00
|
|
|
|
2024-05-08 11:49:25 -04:00
|
|
|
Reason for revert: causing a partner bug
|
|
|
|
Fixes: 295205456
|
2024-01-08 22:12:15 -05:00
|
|
|
Bug: 222446076
|
2024-05-08 11:49:25 -04:00
|
|
|
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:8df038265475bb062ead9eec1749ee92a0f5eb4e)
|
|
|
|
Merged-In: Ida11d98117727f63547b096617a4778bea429e22
|
|
|
|
Change-Id: Ida11d98117727f63547b096617a4778bea429e22
|
2024-01-08 22:12:15 -05:00
|
|
|
---
|
|
|
|
.../src/com/android/keyguard/KeyguardSecurityContainer.java | 2 +-
|
|
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
|
|
|
|
diff --git a/packages/SystemUI/src/com/android/keyguard/KeyguardSecurityContainer.java b/packages/SystemUI/src/com/android/keyguard/KeyguardSecurityContainer.java
|
2024-05-08 11:49:25 -04:00
|
|
|
index bd555e7360d8..89514a52d0bd 100644
|
2024-01-08 22:12:15 -05:00
|
|
|
--- a/packages/SystemUI/src/com/android/keyguard/KeyguardSecurityContainer.java
|
|
|
|
+++ b/packages/SystemUI/src/com/android/keyguard/KeyguardSecurityContainer.java
|
|
|
|
@@ -529,7 +529,7 @@ public class KeyguardSecurityContainer extends FrameLayout implements KeyguardSe
|
|
|
|
case SimPuk:
|
|
|
|
// Shortcut for SIM PIN/PUK to go to directly to user's security screen or home
|
|
|
|
SecurityMode securityMode = mSecurityModel.getSecurityMode(targetUserId);
|
2024-05-08 11:49:25 -04:00
|
|
|
- if (securityMode == SecurityMode.None || mLockPatternUtils.isLockScreenDisabled(
|
|
|
|
+ if (securityMode == SecurityMode.None && mLockPatternUtils.isLockScreenDisabled(
|
2024-01-08 22:12:15 -05:00
|
|
|
KeyguardUpdateMonitor.getCurrentUser())) {
|
|
|
|
finish = true;
|
|
|
|
eventSubtype = BOUNCER_DISMISS_SIM;
|