Loading core/java/com/android/internal/widget/LockPatternUtils.java +3 −4 Original line number Diff line number Diff line Loading @@ -1105,10 +1105,9 @@ public class LockPatternUtils { @UnsupportedAppUsage public long setLockoutAttemptDeadline(int userId, int timeoutMs) { final long deadline = SystemClock.elapsedRealtime() + timeoutMs; if (isSpecialUserId(userId)) { // For secure password storage (that is required for special users such as FRP), the // underlying storage also enforces the deadline. Since we cannot store settings // for special users, don't. if (userId == USER_FRP) { // For secure password storage (that is required for FRP), the underlying storage also // enforces the deadline. Since we cannot store settings for the FRP user, don't. return deadline; } mLockoutDeadlines.put(userId, deadline); Loading Loading
core/java/com/android/internal/widget/LockPatternUtils.java +3 −4 Original line number Diff line number Diff line Loading @@ -1105,10 +1105,9 @@ public class LockPatternUtils { @UnsupportedAppUsage public long setLockoutAttemptDeadline(int userId, int timeoutMs) { final long deadline = SystemClock.elapsedRealtime() + timeoutMs; if (isSpecialUserId(userId)) { // For secure password storage (that is required for special users such as FRP), the // underlying storage also enforces the deadline. Since we cannot store settings // for special users, don't. if (userId == USER_FRP) { // For secure password storage (that is required for FRP), the underlying storage also // enforces the deadline. Since we cannot store settings for the FRP user, don't. return deadline; } mLockoutDeadlines.put(userId, deadline); Loading