summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Kazuki Takise <takise@google.com> 2025-03-04 10:11:18 +0900
committer Kazuki Takise <takise@google.com> 2025-03-06 21:01:48 +0900
commit41877c0ce26b1f810f4f60fff5c70b728751bc5b (patch)
tree3f5a057da87ad2ce122abd7724f6880e1ef8bf22 /libs/androidfw/StringPool.cpp
parent0f223887d85a86d352d7ed42e73d9e8f4b4cbc35 (diff)
WMCore-side infra for showing restart menu
This change introduces a new class AppCompatDisplayCompatModePolicy , which encapsulates all our compat logic related to CD (WM part). Currently, the class only owns the policy as to when the restart menu should be shown. It targets all apps for now, and if they are moved to a different display, the restart menu gets enabled, and once they are restarted, it becomes invisible. This policy is subject to change as we're finalizing the UX of the feature. This policy is routed to WMShell via AppCompatTaskInfo and accessible as isRestartMenuEnabledForDisplayMove() just like other information on app-compat. Flag: com.android.window.flags.enable_restart_menu_for_connected_displays Bug: 400546294 Test: WmTests:DisplayCompatTests Change-Id: I952c0dee9802a9288af170ff62d8818aec662aec
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions