Loading services/core/java/com/android/server/locksettings/LockSettingsService.java +7 −0 Original line number Diff line number Diff line Loading @@ -2366,6 +2366,13 @@ public class LockSettingsService extends ILockSettings.Stub { Slog.w(TAG, "Invalid escrow token supplied"); return false; } if (result.gkResponse.getResponseCode() != VerifyCredentialResponse.RESPONSE_OK) { // Most likely, an untrusted credential reset happened in the past which // changed the synthetic password Slog.e(TAG, "Obsolete token: synthetic password derived but it fails GK " + "verification."); return false; } // Update PASSWORD_TYPE_KEY since it's needed by notifyActivePasswordMetricsAvailable() // called by setLockCredentialWithAuthTokenLocked(). // TODO: refactor usage of PASSWORD_TYPE_KEY b/65239740 Loading Loading
services/core/java/com/android/server/locksettings/LockSettingsService.java +7 −0 Original line number Diff line number Diff line Loading @@ -2366,6 +2366,13 @@ public class LockSettingsService extends ILockSettings.Stub { Slog.w(TAG, "Invalid escrow token supplied"); return false; } if (result.gkResponse.getResponseCode() != VerifyCredentialResponse.RESPONSE_OK) { // Most likely, an untrusted credential reset happened in the past which // changed the synthetic password Slog.e(TAG, "Obsolete token: synthetic password derived but it fails GK " + "verification."); return false; } // Update PASSWORD_TYPE_KEY since it's needed by notifyActivePasswordMetricsAvailable() // called by setLockCredentialWithAuthTokenLocked(). // TODO: refactor usage of PASSWORD_TYPE_KEY b/65239740 Loading