summaryrefslogtreecommitdiff
path: root/libs/androidfw/misc.cpp
diff options
context:
space:
mode:
author Jorge Gil <jorgegil@google.com> 2025-01-17 20:52:18 +0000
committer Jorge Gil <jorgegil@google.com> 2025-01-31 13:42:16 +0000
commitb6d9507d8acd7c713bf6e00051ff4b71c3571ca5 (patch)
tree4f54657332a15630615ca0792c5a66b450eee952 /libs/androidfw/misc.cpp
parentd44604d29637518173d500362176c42e43e5ebe9 (diff)
[7/N] Desks: Implement desk activation
Adds a new DesktopTasksController#activateDesk to focus the given desk and its tasks. The existing #showDesktopApps used by Launcher maps to #activateDesk with the default desk in the given display, and the #activateDesk shell adb command is also wired to activate the given desk. A small refactor of #bringDesktopAppsToFront is needed now that manually bringing every one of the desk's tasks to the front isn't needed, and instead the desk root container is the one being sent to front. Flag: com.android.window.flags.enable_multiple_desktops_backend Bug: 390692038 Test: adb shell dumpsys activity service SystemUIService WMShell \ desktopmode activateDesk <deskId> Test: selecting desk overview tile activates the desk Change-Id: I92a9a4675e9d605fa6ffd4d5df375f8cc6e0740e
Diffstat (limited to 'libs/androidfw/misc.cpp')
0 files changed, 0 insertions, 0 deletions