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
This commit is contained in:
@@ -50,6 +50,7 @@ class QuickstepInteractionHandler implements RemoteViews.InteractionHandler {
|
||||
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);
|
||||
|
||||
Reference in New Issue
Block a user