summaryrefslogtreecommitdiff
path: root/libs/androidfw/ResourceTimer.cpp
diff options
context:
space:
mode:
author Kazuki Takise <takise@google.com> 2025-03-07 18:00:38 +0900
committer Kazuki Takise <takise@google.com> 2025-03-11 21:12:40 +0900
commitefe0b92d409f4c49c41a29a771e363b6485578b9 (patch)
treef68d7a1f8142e57d91efd4aec0186daed6f601ea /libs/androidfw/ResourceTimer.cpp
parent6fcbeebd600578dfc2ce89d12701528400f95799 (diff)
Maintain CompatUIInfo in CompatUIController
CompatUIInfo (esp. TaskListener) is needed for DisplayCompatShowRestartDialog, but WindowDecoration, which invokes the functionality, doens't have access to TaskListener. Initially we proposed the approach to expose ShellTaskOrg#getTaskListener() but as TaskListener is already exposed with onCompatInfoChanged(), it turns out they asked us to reuse it. This change adds mTaskIdToCompatUIInfoMap in CompatUIInfo for this purpose. Flag: com.android.window.flags.enable_restart_menu_for_connected_displays Bug: 32086679 Test: CompatUIControllerTest Change-Id: I222ef8680907e77f752448f902f98f3b4c646c39
Diffstat (limited to 'libs/androidfw/ResourceTimer.cpp')
0 files changed, 0 insertions, 0 deletions