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

@@ -95,8 +95,6 @@ public class SearchResultTrampoline extends Activity {
}
}
intent.addFlags(Intent.FLAG_ACTIVITY_FORWARD_RESULT);
if (!ActivityEmbeddingUtils.isEmbeddingActivityEnabled(this)) {
startActivity(intent);
} else if (isSettingsIntelligence(callingActivity)) {