Add overview taskbar split support for 3P launcher
* Created b/268120202 to track other states of split selection that are unhandled on 3P launchers Test: Able to initiate split in overview with 3P launcher Fixes: 264576761 Change-Id: I0311fe83380bf914fa79956b2565b61cc5eab916
This commit is contained in:
@@ -30,4 +30,18 @@ public final class Utilities {
|
||||
str.add(flagName);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets drag, long-click, and split selection behavior on 1P and 3P launchers with Taskbar
|
||||
*/
|
||||
static void setOverviewDragState(TaskbarControllers controllers,
|
||||
boolean disallowGlobalDrag, boolean disallowLongClick,
|
||||
boolean allowInitialSplitSelection) {
|
||||
controllers.taskbarDragController.setDisallowGlobalDrag(disallowGlobalDrag);
|
||||
controllers.taskbarDragController.setDisallowLongClick(disallowLongClick);
|
||||
controllers.taskbarAllAppsController.setDisallowGlobalDrag(disallowGlobalDrag);
|
||||
controllers.taskbarAllAppsController.setDisallowLongClick(disallowLongClick);
|
||||
controllers.taskbarPopupController.setAllowInitialSplitSelection(
|
||||
allowInitialSplitSelection);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user