mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-01 00:06:47 +00:00
Support splitting from workspace with Widgets
* Need to insert widget's icon in animation * Launching w/ same package app + widget is broken Test: Launched apps from predicted apps + widget, hotseat apps + widget Flag: ENABLE_SPLIT_FROM_WORKSPACE_TO_WORKSPACE Bug: 276361926 Change-Id: I3e30189e56536371ebd0acfbdd2c073a882cc731
This commit is contained in:
@@ -56,6 +56,10 @@ class QuickstepInteractionHandler implements RemoteViews.InteractionHandler {
|
||||
return RemoteViews.startPendingIntent(hostView, pendingIntent,
|
||||
remoteResponse.getLaunchOptions(view));
|
||||
}
|
||||
if (mLauncher.getSplitToWorkspaceController().handleSecondWidgetSelectionForSplit(view,
|
||||
pendingIntent)) {
|
||||
return true;
|
||||
}
|
||||
Pair<Intent, ActivityOptions> options = remoteResponse.getLaunchOptions(view);
|
||||
ActivityOptionsWrapper activityOptions = mLauncher.getAppTransitionManager()
|
||||
.getActivityLaunchOptions(hostView);
|
||||
|
||||
Reference in New Issue
Block a user