summaryrefslogtreecommitdiff
path: root/libs/androidfw/AttributeResolution.cpp
diff options
context:
space:
mode:
author Massimo Carli <mcarli@google.com> 2023-04-19 17:28:25 +0000
committer Massimo Carli <mcarli@google.com> 2023-05-04 11:43:46 +0000
commitebc3e09ca8a0294779106dbc265a00dd885957db (patch)
tree94a8afb346494752967ccd27c01722e6a3eb487c /libs/androidfw/AttributeResolution.cpp
parentd27cba9d16a9f983c336149d62d9841368fb6646 (diff)
Handle uiMode change in CompatUI
When uiMode changes we need to recreate CompatUI components to allow the update of the resources in case of switch between Light/Dark more or when the device is docked/undocked. This allows to cover the use case of a change in theme of a docked device showing a restart dialog. Fixes: 279170801 Test: atest WMShellUnitTests:CompatUIWindowManagerTest atest WMShellUnitTests:ReachabilityEduWindowManagerTest atest WMShellUnitTests:RestartDialogWindowManagerTest Change-Id: I179df47bdc23f238dee9ffe6b2e579a67921eb1f
Diffstat (limited to 'libs/androidfw/AttributeResolution.cpp')
0 files changed, 0 insertions, 0 deletions