Filter out running pinned app tasks from KeyboardQuickSwitch.
- Opening KQS from keyboard shortcuts shows all the tasks.
- Opening KQS from taskbar will filter out all the running pinned apps
from the list of views.
Bug: 368119679
Change-Id: I6090679f9fc359212db00a325917892ae6e1eb39
Test: open KQS via taskbar affordance, obseerve filtered list,
use alt + option
observe list changes to show all tasks
click affordance again, observe list changes back to filtered
Flag: com.android.launcher3.taskbar_overflow
This commit is contained in:
@@ -140,7 +140,8 @@ public class TaskbarViewCallbacks {
|
||||
return new View.OnClickListener() {
|
||||
@Override
|
||||
public void onClick(View v) {
|
||||
mControllers.keyboardQuickSwitchController.openQuickSwitchView();
|
||||
mControllers.keyboardQuickSwitchController.openQuickSwitchView(
|
||||
mControllers.taskbarViewController.getTaskIdsForPinnedApps());
|
||||
}
|
||||
};
|
||||
}
|
||||
@@ -150,7 +151,8 @@ public class TaskbarViewCallbacks {
|
||||
return new View.OnLongClickListener() {
|
||||
@Override
|
||||
public boolean onLongClick(View v) {
|
||||
mControllers.keyboardQuickSwitchController.openQuickSwitchView();
|
||||
mControllers.keyboardQuickSwitchController.openQuickSwitchView(
|
||||
mControllers.taskbarViewController.getTaskIdsForPinnedApps());
|
||||
return true;
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user