diff options
| author | 2024-11-21 15:28:40 +0800 | |
|---|---|---|
| committer | 2024-11-22 18:23:09 +0800 | |
| commit | c628184598b9546a8637134f70dcd07f94e31809 (patch) | |
| tree | 3b1c7a7f95ab566659a86925c560ad4f64185d1c /libs/androidfw/StringPool.cpp | |
| parent | d7864f4f52258027856a64a4b2b80efbd9af9306 (diff) | |
[Catalyst] Improve observer mechanism for binding helper
Improvements:
- Make PersistentPreference.storage is invoked only once during
binding.
- Instead of registering an *any* key listener for each storage,
use per key listeners. It provides another way to support a
preference has different hierarchy key and datastore key.
Bug: 332201912
Flag: com.android.settings.flags.catalyst
Test: manual
Change-Id: Iaf93d4de6284480391699961ae3d05714212af68
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions