Skip to content

Commit 940d5c7

Browse files
authored
fix(auth): Dismiss custom tab on signout for all browsers (#3184)
* Dismiss custom tab on signout for all browsers
1 parent 86f1c55 commit 940d5c7

File tree

1 file changed

+1
-1
lines changed
  • aws-android-sdk-cognitoauth/src/main/java/com/amazonaws/mobileconnectors/cognitoauth

1 file changed

+1
-1
lines changed

aws-android-sdk-cognitoauth/src/main/java/com/amazonaws/mobileconnectors/cognitoauth/AuthClient.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -828,7 +828,7 @@ private void launchCustomTabs(final Uri uri, final Activity activity, final Stri
828828
);
829829
} else {
830830
Intent startIntent = CustomTabsManagerActivity.createStartIntent(context, mCustomTabsIntent.intent);
831-
startIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_NO_HISTORY);
831+
startIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
832832
context.startActivity(startIntent);
833833
}
834834
} catch (final Exception e) {

0 commit comments

Comments
 (0)