Add "New Window" option to Taskbar menu.
This change adds a new menu option to Taskbar that is invoked when long pressing an icon. It createds a new instance for an app if the app supports multi instance in Desktop Mode. Bug: 315344726 Test: Manual Flag: com.android.launcher3.enable_multi_instance_menu_taskbar Change-Id: Ibc42fbb1ad485496cd938af730b86e051cea559a
This commit is contained in:
1 parent
e6eca9c195
commit
8e0ed4b01b
5 files changed
+135
-1
No files matched your search
@@ -250,6 +250,7 @@ public class TaskbarModelCallbacks implements
|
||||
Map<PackageUserKey, Integer> packageUserKeytoUidMap) {
|
||||
Preconditions.assertUIThread();
|
||||
mControllers.taskbarAllAppsController.setApps(apps, flags, packageUserKeytoUidMap);
|
||||
mControllers.taskbarPopupController.setApps(apps);
|
||||
}
|
||||
|
||||
protected void dumpLogs(String prefix, PrintWriter pw) {
|
||||
|
||||
Reference in new issue
Block a user