File tree Expand file tree Collapse file tree 2 files changed +13
-1
lines changed
common/src/main/java/com/microsoft/identity/common/internal/providers/oauth2 Expand file tree Collapse file tree 2 files changed +13
-1
lines changed Original file line number Diff line number Diff line change 33- [PATCH] Translate MFA token error to UIRequiredException instead of ServiceException (#2538)
44- [MINOR] Add Child Spans for Interactive Span (#2516)
55- [MINOR] For MSAL CPP flows, match exact claims when deleting AT with intersecting scopes (#2548)
6+ - [MINOR] Fix issue with fragment displaying when 'AcquireTokenParameters.Builder().withFragment()' is used (#2274)
67
78Version 18.2.2
89----------
Original file line number Diff line number Diff line change @@ -78,7 +78,7 @@ protected void launchIntent(@NonNull Intent intent) throws ClientException {
7878 final Fragment fragment = mReferencedFragment .get ();
7979
8080 if (fragment != null ) {
81- final Fragment authFragment = AuthorizationActivityFactory . getAuthorizationFragmentFromStartIntent (intent );
81+ final Fragment authFragment = getAuthorizationFragment (intent );
8282
8383 final FragmentManager fragmentManager = fragment .getFragmentManager ();
8484 if (fragmentManager == null ) {
@@ -98,4 +98,15 @@ protected void launchIntent(@NonNull Intent intent) throws ClientException {
9898 }
9999 activity .startActivity (intent );
100100 }
101+
102+ private static Fragment getAuthorizationFragment (@ NonNull Intent intent ) {
103+ if (intent .getExtras () != null ) {
104+ return AuthorizationActivityFactory .getAuthorizationFragmentFromStartIntentWithState (
105+ intent ,
106+ intent .getExtras ()
107+ );
108+ }
109+
110+ return AuthorizationActivityFactory .getAuthorizationFragmentFromStartIntent (intent );
111+ }
101112}
You can’t perform that action at this time.
0 commit comments