diff options
| author | 2023-10-19 17:45:53 -0700 | |
|---|---|---|
| committer | 2023-10-20 14:12:44 -0700 | |
| commit | 21aa4abd8dbc38739a36de1c6999dad3f8cfc976 (patch) | |
| tree | e32721e08d458ca3fe3ae91d04b215e712065a2e /libs/androidfw/StringPool.cpp | |
| parent | a8c34f8d1b3b67e282bdd6130bc2beeac54b878d (diff) | |
[SettingsProvider] minor refactor before lock changes
The old peekSettingsStateLocked lazily creates the config table on boot,
but it confuses a read-only method and a write method, which makes it
difficult to refactor SettingsProvider to use a ReadWrite lock. This CL
promptly initializes all the tables needed during boot and also during
new user creation. This is the preparation before introducing the
ReadWrite lock.
+ minor code style refactors
BUG: 284452689
Test: presubmit
Change-Id: Id57fb9dffd31be8438d2b7ba9714ac7bf4823302
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions