Support toggling Taskbar All Apps with 3P Launcher.
Taskbar All Apps exists regardless of the default launcher. Thus, we can
toggle it on large screen devices. This CL ties registering the system
action to default launcher and taskbar's enablement.
Test: adb shell input keyevent 117
Test: AllAppsActionManagerTest
Flag: LEGACY ENABLE_ALL_APPS_SEARCH_IN_TASKBAR ENABLED
Fix: 317259709
Change-Id: I26f0ed9e921beac762f3f9e6aaceb1002ad4801a
(cherry picked from commit c113b277e6)
This commit is contained in:
1 parent
30d9b190d5
commit
176f186a6d
7 files changed
+229
-47
No files matched your search
@@ -1558,4 +1558,13 @@ public class TaskbarActivityContext extends BaseTaskbarContext {
|
||||
public float getStashedTaskbarScale() {
|
||||
return mControllers.stashedHandleViewController.getStashedHandleHintScale().value;
|
||||
}
|
||||
|
||||
/** Closes the KeyboardQuickSwitchView without an animation if open. */
|
||||
public void closeKeyboardQuickSwitchView() {
|
||||
mControllers.keyboardQuickSwitchController.closeQuickSwitchView(false);
|
||||
}
|
||||
|
||||
boolean canToggleHomeAllApps() {
|
||||
return mControllers.uiController.canToggleHomeAllApps();
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user