commit | 1d7d895a273590d817c7a4b18a79ecb3cb87fe40 | [log] [tgz] |
---|---|---|
author | TreeHugger Robot <treehugger-gerrit@google.com> | Tue May 04 22:39:18 2021 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Tue May 04 22:39:18 2021 +0000 |
tree | f276c3d82ce6b589d579fdef4aaa26c4013ac864 | |
parent | 6f875fc851bf6d555df26f14968def68d5e776e2 [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: I987146defb945033cf7c897ca170a6c5a5f08ad5
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);