commit | d6aa6cb0cc8c70a30434048e25e14643b1645755 | [log] [tgz] |
---|---|---|
author | Adrian Roos <roosa@google.com> | Thu Apr 16 19:31:29 2015 -0700 |
committer | Adrian Roos <roosa@google.com> | Tue Apr 28 11:49:04 2015 -0700 |
tree | 9cab9002482a68626c335deeff335c11e69a32a0 | |
parent | 8150d2a2a12b38598fd55d8ae3c3b5662ec3520f [diff] [blame] |
Remove LockPatternUtils.getCurrentUser() Bug: 18931518 Change-Id: I177eefe466c12217cf64c85b872f71bc23c7bf05
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 75b2c741..66d71f6 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/phone/UnlockMethodCache.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/phone/UnlockMethodCache.java
@@ -80,7 +80,7 @@ } private void update(boolean updateAlways) { - int user = mLockPatternUtils.getCurrentUser(); + int user = KeyguardUpdateMonitor.getCurrentUser(); boolean secure = mLockPatternUtils.isSecure(user); boolean currentlyInsecure = !secure || mKeyguardUpdateMonitor.getUserHasTrust(user); boolean trustManaged = mKeyguardUpdateMonitor.getUserTrustIsManaged(user);