summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Nicolo' Mazzucato <nicomazz@google.com> 2024-08-30 09:16:50 +0000
committer Nicolò Mazzucato <nicomazz@google.com> 2024-09-03 15:47:39 +0000
commitde0b1074196f089ec0d1ee01d01671bc14fed186 (patch)
treef480231fb970848b3473feb8d05b4bcd045d1024 /libs/androidfw/StringPool.cpp
parent61614716dc98b4096c9b136113a8d0ca9a781b72 (diff)
Allow multiple annotated configuration controllers in sysui
Before this change there was a single configuration controller in sysui, provided in the global scope without any annotation. However, values provided by this configuration controller are not ok to be used with secondary displays (as the source of config change is different). This change makes it possible to create and provide in the dagger graph several instances of configurationController and ConfigurationState. The existing one is now annotated with @GlobalConfig (as it only receives updates from SystemUIApplication, and uses the application context to get the config from resources) In follow up cls new ConfigurationControllers and ConfigurationState instances will be bound to the dagger graph to make UI components work also on different displays with the correct configs. Bug: 363171298 Test: Simple DI refactor with no functionality change - presubmit tests and manual tries of changing config should cover this. Flag: NONE No functionality change Change-Id: I803273b7818a60ef6a23bbe416eda58adf8907e4
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions