Snap for 8722206 from 23eecdc87d to tm-qpr1-release

Change-Id: Iedf149f2cc91a2dd0c394104e116d42785f95e1e
This commit is contained in:
Android Build Coastguard Worker
2022-06-15 01:25:16 +00:00

View File

@@ -436,7 +436,7 @@ public class SettingsHomepageActivity extends FragmentActivity implements
// To prevent launchDeepLinkIntentToRight again for configuration change.
intent.setAction(null);
targetIntent.removeFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
targetIntent.removeFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_NEW_DOCUMENT);
targetIntent.addFlags(Intent.FLAG_ACTIVITY_FORWARD_RESULT);
// Sender of intent may want to send intent extra data to the destination of targetIntent.