summaryrefslogtreecommitdiff
path: root/cmds/bootanimation/BootAnimationUtil.cpp
diff options
context:
space:
mode:
author Ats Jenk <atsjenk@google.com> 2023-04-28 11:19:28 -0700
committer Ats Jenk <atsjenk@google.com> 2023-05-01 14:01:09 -0700
commit44fdf07f6573d3cbefd52091352ce33f28fda26f (patch)
tree74117b7a86f55a01939787f913b84e0d0f6c8e02 /cmds/bootanimation/BootAnimationUtil.cpp
parente08458ee6ad5b539430204b56ca41a91c2114fd5 (diff)
Add support to move task to another display
Create an API in DesktopTasksController to move a task to another display. It will rotate through the existing displays and move the task to the next one. If the task is already on the last display, it will move it back to the first. Display list is ordered by display ids. If there is only one display, the method call is a no-op. Adding a dev option to window caption menu that is behind a flag. This dev option can be used to move the window. Bug: 278084491 Test: atest DesktopTasksControllerTest Test: use a virtual device with multiple displays, use select button to move an app between displays Change-Id: If30b48d04dfa86b64b80e39e63e365bf921a6f92
Diffstat (limited to 'cmds/bootanimation/BootAnimationUtil.cpp')
0 files changed, 0 insertions, 0 deletions