summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Daichi Hirono <hirono@google.com> 2024-12-18 10:09:34 +0900
committer Daichi Hirono <hirono@google.com> 2024-12-20 07:42:08 +0900
commit51cffcdac5a33780fce847814c3c150631b97cb0 (patch)
treee0a3e348c777ad44a704405fbd5111361ef6185c /libs/androidfw/StringPool.cpp
parent166ad296b540bb2733fcd716465cf3af7df90b3a (diff)
Ensures the destination display gains global focus
This change fulfills a UX requirement where pressing the "move to next display" shortcut twice should move the same window. When DesktopTasksController handles keyboard shortcuts, it moves the task that has the global focus. This concept was recently introduced with the display focus feature. Previously, the display focus remained on the source display even after a task was moved. This caused the next task on the source display to gain global focus. This CL rectifies this by adding reorder requests to the reparent transaction. This ensures the destination display moves to the top and receives the display focus. Bug: 381763302 Flag: com.android.window.flags.enable_move_to_next_display_shortcut Flag: com.android.window.flags.enable_display_focus_in_shell_transitions Test: DesktopTasksControllerTest Change-Id: I4270b5a3dc60ab07604dd3b1c6b95f8f9c06ac04
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions