commit | 7b53c1edbe76af56e004683d1bfa59357c4dca67 | [log] [tgz] |
---|---|---|
author | TreeHugger Robot <treehugger-gerrit@google.com> | Tue May 04 22:39:30 2021 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Tue May 04 22:39:30 2021 +0000 |
tree | 2a41dfda66165c256c94b004190be443a4c5970a | |
parent | 1e6c62f794f758fcbde550514f9c186638fd3059 [diff] | |
parent | 4d5c733411a78510f9f292fb4bc4b5bafd6c7942 [diff] |
Merge "Add NEW_TASK flag to Quickstep App Widget activity start" into sc-dev am: 4d5c733411 Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14425541 Change-Id: I40f6a3955cbbf9b8e5bb599c03ac75fcd33b0bd1
diff --git a/quickstep/src/com/android/launcher3/uioverrides/QuickstepInteractionHandler.java b/quickstep/src/com/android/launcher3/uioverrides/QuickstepInteractionHandler.java index 5c19ab8..a54f963 100644 --- a/quickstep/src/com/android/launcher3/uioverrides/QuickstepInteractionHandler.java +++ b/quickstep/src/com/android/launcher3/uioverrides/QuickstepInteractionHandler.java
@@ -50,6 +50,7 @@ Pair<Intent, ActivityOptions> options = remoteResponse.getLaunchOptions(hostView); ActivityOptionsWrapper activityOptions = mLauncher.getAppTransitionManager() .getActivityLaunchOptions(mLauncher, hostView); + activityOptions.options.setPendingIntentLaunchFlags(Intent.FLAG_ACTIVITY_NEW_TASK); Object itemInfo = hostView.getTag(); if (itemInfo instanceof ItemInfo) { mLauncher.addLaunchCookie((ItemInfo) itemInfo, activityOptions.options);