Add handling for toggling keyboard stashing from the keyboard

Flag: ENABLE_KEYBOARD_TASKBAR_TOGGLE
Bug: 281726846
Fixes: 246660615
Test: toggled the transient taskbar with the meta+t input
Change-Id: I315f83850b11d24d8b55061d7111300effb43936
This commit is contained in:
Schneider Victor-tulias
2023-05-03 10:10:21 -07:00
parent 125e121834
commit eb8dce01ce
5 changed files with 28 additions and 12 deletions

View File

@@ -979,11 +979,16 @@ public class TaskbarActivityContext extends BaseTaskbarContext {
mControllers.taskbarEduTooltipController.hide();
}
/** Returns {@code true} if taskbar All Apps is open. */
/** Returns {@code true} if Taskbar All Apps is open. */
public boolean isTaskbarAllAppsOpen() {
return mControllers.taskbarAllAppsController.isOpen();
}
/** Toggles the Taskbar's stash state. */
public void toggleTaskbarStash() {
mControllers.taskbarStashController.toggleTaskbarStash();
}
/**
* Called to start the taskbar translation spring to its settled translation (0).
*/