diff options
| author | 2025-02-17 22:58:14 -0800 | |
|---|---|---|
| committer | 2025-02-19 13:46:37 +0800 | |
| commit | e773f462bd373e1cab0c2ac3b0e2fefb4b6afc9c (patch) | |
| tree | a559f3bb356ab6768b5eaa9279df256da5b256cb /libs/androidfw/AttributeResolution.cpp | |
| parent | 6b3d33e24ae86cb283670f590e4290d3ed71ebc6 (diff) | |
Update resources when config update of sysUiContext
Before WindowContextInfoItem, the SystemUiContext was updated directly.
After that, the change will be post to the main thread first, which lead
to DisplayPolicy#onConfigurationChanged and other methods to get
obosolete values from SystemUiContext's resources. They still assume
SystemUiContext would be updated directly.
This CL track SystemUiContext config update with ComponentCallbacks, and
changes to update fields from SystemUiContext Resurces there.
Bug: 384428048
Bug: 397133940
Test: atest DisplayContentTest DisplayPolicyTest
Test: atest FrameworksCoreTests:ContextTest
Test: atp run v2/android-window-manager/apct/framework/window_manager_presubmit-cloud-tf
Flag: com.android.window.flags.track_system_ui_context_before_wms
Change-Id: I6eed6fe662244d6d761b80b147e6e228c1db2d51
Diffstat (limited to 'libs/androidfw/AttributeResolution.cpp')
0 files changed, 0 insertions, 0 deletions