Merge changes from topic "locksettings-aosp-first" into main am: 852ee8e483

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2700638

Change-Id: Ie6c324dabe2fbcf68cab035b318636bf8202621e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Eric Biggers
2023-08-11 00:39:09 +00:00
committed by Automerger Merge Worker

View File

@@ -1327,8 +1327,10 @@ public class SyntheticPasswordManager {
}
return result;
} else if (responseCode == GateKeeperResponse.RESPONSE_RETRY) {
Slog.e(TAG, "Gatekeeper verification of synthetic password failed with RESPONSE_RETRY");
return VerifyCredentialResponse.fromTimeout(response.getTimeout());
} else {
Slog.e(TAG, "Gatekeeper verification of synthetic password failed with RESPONSE_ERROR");
return VerifyCredentialResponse.ERROR;
}
}