Simple implementation of Taskbar Overflow.

- Adds placeholder view to represent the Overflow affordance.
- Overflow button will always appear as long as there are any
  recent apps.*
- Click / long click on the button will open KeyboardQuickSwitch
- Relevant code is Guarded by Flags.taskbarOverflow.

*Note that this is not up to spec. This change is only meant to
setup the codebase to support Taskbar Overflow.

Bug: 368119679
Test: open app, enter desktop windowing, click overflow button
Flag: com.android.launcher3.taskbar_overflow
Change-Id: I47f96797408fda09e8326ba8fb7981c91de80e36
This commit is contained in:
Jon Miranda committed 2024-09-21 00:28:20 +00:00
1 parent 0e795f08f6
commit 7645ef2ebd
8 files changed
+119 -4

No files matched your search

@@ -58,8 +58,12 @@ import java.util.List;
import java.util.Locale;
/**
* View that allows quick switching between recent tasks through keyboard alt-tab and alt-shift-tab
* commands.
* View that allows quick switching between recent tasks.
*
* Can be access via:
* - keyboard alt-tab
* - alt-shift-tab
* - taskbar overflow button
*/
public class KeyboardQuickSwitchView extends ConstraintLayout {