Skip to content

Commit

Permalink
webauthn: passkeys are only supported on Android >= P.
Browse files Browse the repository at this point in the history
BUG=1403291

Change-Id: I4dcfab87907b38c43f5152292e3d66296f910aeb
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4122979
Commit-Queue: Martin Kreichgauer <martinkr@google.com>
Auto-Submit: Adam Langley <agl@chromium.org>
Reviewed-by: Martin Kreichgauer <martinkr@google.com>
Cr-Commit-Position: refs/heads/main@{#1087059}
  • Loading branch information
Adam Langley authored and Chromium LUCI CQ committed Dec 27, 2022
1 parent f9eb15f commit 52e3bd9
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,8 @@ public void getMatchingCredentialIds(String relyingPartyId, byte[][] credentialI
@Override
public void isConditionalMediationAvailable(
final IsConditionalMediationAvailable_Response callback) {
if (mGmsCorePackageVersion < GMSCORE_MIN_VERSION) {
if (mGmsCorePackageVersion < GMSCORE_MIN_VERSION
|| Build.VERSION.SDK_INT < Build.VERSION_CODES.P) {
callback.call(false);
return;
}
Expand Down

0 comments on commit 52e3bd9

Please sign in to comment.