diff options
| author | 2024-05-14 02:03:50 +0000 | |
|---|---|---|
| committer | 2024-05-14 03:04:12 +0000 | |
| commit | 2bf606972ea67867387b0acd3253840fda488c61 (patch) | |
| tree | 63c5d8976bb162024a535c2b473c980bb04f8f13 /libs/androidfw/StringPool.cpp | |
| parent | 63c2e77901644f1ba950d87450d0e0e77793b9f9 (diff) | |
Add the thread-safe protection for PowerAllowlistBackend if possible
Add some thread-safe protection if possible, since the
PowerAllowlistBackend is designed as single instance, but multiple
modules in the Settings will use it, both in the background and main
thread to cause the potential race conditions.
Fix: 340029244
Test: presubmit
Change-Id: I3b9e76889db7807496e38371d735ca41160be88e
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions