Skip to content

Commit 944252a

Browse files
mohitc1melissaahn
andauthored
Merge release/18.1.0 to dev (#2520)
Co-authored-by: melissaahn <[email protected]>
1 parent 3455c0b commit 944252a

File tree

4 files changed

+7
-4
lines changed

4 files changed

+7
-4
lines changed

changelog.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
vNext
1+
Version 18.1.0
22
----------
3+
(common4j 15.1.0)
34
- [MINOR] Use legacy FIDO2 API to provide security key support to Android 13 devices (#2508)
45

56
Version 18.0.0

common/src/main/java/com/microsoft/identity/common/internal/fido/CredManFidoManager.kt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ import androidx.credentials.GetCredentialRequest
2929
import androidx.credentials.GetPublicKeyCredentialOption
3030
import androidx.credentials.PublicKeyCredential
3131
import androidx.credentials.exceptions.NoCredentialException
32+
import com.microsoft.identity.common.java.flighting.CommonFlight
33+
import com.microsoft.identity.common.java.flighting.CommonFlightsManager.getFlightsProvider
3234
import com.microsoft.identity.common.java.opentelemetry.AttributeName
3335
import com.microsoft.identity.common.logging.Logger
3436
import io.opentelemetry.api.trace.Span
@@ -82,7 +84,7 @@ class CredManFidoManager (val context: Context,
8284
// We're setting preferImmediatelyAvailableCredentials in the CredMan getCredentialRequest object to true if the device OS is Android 13 or lower.
8385
// This ensures the behavior where no dialog from CredMan is shown if no passkey cred is present.
8486
// The end goal is for an Android <= 13 user who only has a security key to see one dialog which will allow them to authenticate.
85-
preferImmediatelyAvailableCredentials = (Build.VERSION.SDK_INT < Build.VERSION_CODES.UPSIDE_DOWN_CAKE)
87+
preferImmediatelyAvailableCredentials = (getFlightsProvider().isFlightEnabled(CommonFlight.ENABLE_LEGACY_FIDO_SECURITY_KEY_LOGIC) && Build.VERSION.SDK_INT < Build.VERSION_CODES.UPSIDE_DOWN_CAKE)
8688
)
8789
try {
8890
Logger.info(methodTag, "Calling Credential Manager with a GetCredentialRequest.")
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
#Wed May 12 20:08:39 UTC 2021
2-
versionName=15.0.0
2+
versionName=15.1.0
33
versionCode=1
44
latestPatchVersion=227

versioning/version.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
#Tue Apr 06 22:55:08 UTC 2021
2-
versionName=18.0.0
2+
versionName=18.1.0
33
versionCode=1
44
latestPatchVersion=234

0 commit comments

Comments
 (0)