Loading core/java/com/android/internal/widget/LockPatternUtils.java +2 −2 Original line number Diff line number Diff line Loading @@ -354,7 +354,7 @@ public class LockPatternUtils { return false; } } catch (RemoteException re) { return true; return false; } } Loading Loading @@ -435,7 +435,7 @@ public class LockPatternUtils { return false; } } catch (RemoteException re) { return true; return false; } } Loading services/core/java/com/android/server/LockSettingsService.java +6 −0 Original line number Diff line number Diff line Loading @@ -1215,6 +1215,9 @@ public class LockSettingsService extends ILockSettings.Stub { private VerifyCredentialResponse doVerifyPattern(String pattern, boolean hasChallenge, long challenge, int userId) throws RemoteException { checkPasswordReadPermission(userId); if (TextUtils.isEmpty(pattern)) { throw new IllegalArgumentException("Pattern can't be null or empty"); } CredentialHash storedHash = mStorage.readPatternHash(userId); return doVerifyPattern(pattern, storedHash, hasChallenge, challenge, userId); } Loading Loading @@ -1306,6 +1309,9 @@ public class LockSettingsService extends ILockSettings.Stub { private VerifyCredentialResponse doVerifyPassword(String password, boolean hasChallenge, long challenge, int userId) throws RemoteException { checkPasswordReadPermission(userId); if (TextUtils.isEmpty(password)) { throw new IllegalArgumentException("Password can't be null or empty"); } CredentialHash storedHash = mStorage.readPasswordHash(userId); return doVerifyPassword(password, storedHash, hasChallenge, challenge, userId); } Loading Loading
core/java/com/android/internal/widget/LockPatternUtils.java +2 −2 Original line number Diff line number Diff line Loading @@ -354,7 +354,7 @@ public class LockPatternUtils { return false; } } catch (RemoteException re) { return true; return false; } } Loading Loading @@ -435,7 +435,7 @@ public class LockPatternUtils { return false; } } catch (RemoteException re) { return true; return false; } } Loading
services/core/java/com/android/server/LockSettingsService.java +6 −0 Original line number Diff line number Diff line Loading @@ -1215,6 +1215,9 @@ public class LockSettingsService extends ILockSettings.Stub { private VerifyCredentialResponse doVerifyPattern(String pattern, boolean hasChallenge, long challenge, int userId) throws RemoteException { checkPasswordReadPermission(userId); if (TextUtils.isEmpty(pattern)) { throw new IllegalArgumentException("Pattern can't be null or empty"); } CredentialHash storedHash = mStorage.readPatternHash(userId); return doVerifyPattern(pattern, storedHash, hasChallenge, challenge, userId); } Loading Loading @@ -1306,6 +1309,9 @@ public class LockSettingsService extends ILockSettings.Stub { private VerifyCredentialResponse doVerifyPassword(String password, boolean hasChallenge, long challenge, int userId) throws RemoteException { checkPasswordReadPermission(userId); if (TextUtils.isEmpty(password)) { throw new IllegalArgumentException("Password can't be null or empty"); } CredentialHash storedHash = mStorage.readPasswordHash(userId); return doVerifyPassword(password, storedHash, hasChallenge, challenge, userId); } Loading