commit | c794d0d91e16fa5e2c703f1f7de8d4840ed769fb | [log] [tgz] |
---|---|---|
author | TreeHugger Robot <treehugger-gerrit@google.com> | Tue May 04 22:34:18 2021 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Tue May 04 22:34:18 2021 +0000 |
tree | 2a41dfda66165c256c94b004190be443a4c5970a | |
parent | 5fd433fb21aecab28fddda1a4578196321222e68 [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: I013d542134f27076e4c12f289be83eb05f34ec44
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);