Remove FLAG_ACTIVITY_FORWARD_RESULT in 2-pane flow

Settings$CreateShortcutActivity does not necessary to be
displayed in 2-pane and it seems no scenario needs the flag
Intent.FLAG_ACTIVITY_FORWARD_RESULT.

Bug: 241346847
Test: build pass
Change-Id: I7a8fca61b453db70233b151711df516649424e3a
This commit is contained in:
Arc Wang
2022-08-04 16:24:35 +08:00
parent 66479d6de4
commit ea1580f92b
3 changed files with 0 additions and 5 deletions

View File

@@ -415,7 +415,6 @@ public class SettingsActivity extends SettingsBaseActivity
trampolineIntent.putExtra(EXTRA_SETTINGS_EMBEDDED_DEEP_LINK_HIGHLIGHT_MENU_KEY,
highlightMenuKey);
trampolineIntent.addFlags(Intent.FLAG_ACTIVITY_FORWARD_RESULT);
return trampolineIntent;
}