commit | 8150d2a2a12b38598fd55d8ae3c3b5662ec3520f | [log] [tgz] |
---|---|---|
author | Adrian Roos <roosa@google.com> | Thu Apr 16 17:11:20 2015 -0700 |
committer | Adrian Roos <roosa@google.com> | Tue Apr 28 11:49:00 2015 -0700 |
tree | df0c100c35959c7317b8255865cdadf791364ec6 | |
parent | c8240411c38b78ac8095f6e8067f7bcc7046f502 [diff] [blame] |
Require explicit userId in LockPatternUtils Bug: 18931518 Change-Id: Ib03f37df9135f0324a998c62d165d8eea46328c8
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/phone/UnlockMethodCache.java b/packages/SystemUI/src/com/android/systemui/statusbar/phone/UnlockMethodCache.java index 65cd268..75b2c741 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/phone/UnlockMethodCache.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/phone/UnlockMethodCache.java
@@ -81,7 +81,7 @@ private void update(boolean updateAlways) { int user = mLockPatternUtils.getCurrentUser(); - boolean secure = mLockPatternUtils.isSecure(); + boolean secure = mLockPatternUtils.isSecure(user); boolean currentlyInsecure = !secure || mKeyguardUpdateMonitor.getUserHasTrust(user); boolean trustManaged = mKeyguardUpdateMonitor.getUserTrustIsManaged(user); boolean faceUnlockRunning = mKeyguardUpdateMonitor.isFaceUnlockRunning(user)