diff options
| author | 2023-04-18 17:43:05 +0200 | |
|---|---|---|
| committer | 2023-04-18 15:49:44 +0000 | |
| commit | 9aa84aeffce8382f82187b0bc67ce5a86e3e7f79 (patch) | |
| tree | 73dc9c7ded1f95138f9e298f35d6f56be461aa21 /libs/androidfw/ApkParsing.cpp | |
| parent | 844c5aec4826d6e12e6f25546a2cdd5b73205f2c (diff) | |
Make ManagedServices more thread-safe
Added @GuardedBy annotations to all collection fields (according to their existing usage) plus a few synchronized blocks that were missing. ErrorProne now reports zero "GuardedBy" issues on this class.
Also added a test for a specific case that was found in the wild.
Fixes: 216508294
Test: atest
Change-Id: Ie221e467fd6fc8b510bc9b22c15abc242653c4b3
Diffstat (limited to 'libs/androidfw/ApkParsing.cpp')
0 files changed, 0 insertions, 0 deletions