summaryrefslogtreecommitdiff
path: root/api/api.go
diff options
context:
space:
mode:
author mattsziklay <mattsziklay@google.com> 2024-04-15 10:38:57 -0700
committer mattsziklay <mattsziklay@google.com> 2024-06-04 17:43:24 -0700
commitba86a2a04559afba6c446782b84242463c918946 (patch)
tree2d07b3557485126d10dee9ca421b6a3a472224b3 /api/api.go
parentf63654086d7f91890d8afc5987c41a8cd5fe6a73 (diff)
Add handle menu to TYPE_STATUS_BAR_ADDITIONAL layer.
Changes handle menu's layer from TYPE_APPLICATION to TYPE_STATUS_BAR_ADDITIONAL when the task is not in freeform. This allows us to interact with the menu directly in status bar coordinates but keeps it underneath notification shade in the case that shade is invoked via a keyboard shortcut. Splits AdditionalWindow into two child classes to distinguish between AdditionalWindows that are hosted in this new layer and ones that use the original method. Additionally, modifies updateHandleMenuPillPositions to calculate positions with global coordinates if needed. Bug: 316186265 Test: Manual, open handle menu in different windowing modes Test: atest HandleMenuTest Flag: lse_desktop_experience.enable_additional_windows_above_status_bar Change-Id: Ia91b2503dde3efbedd7999b1a6769378765f35bb
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions