diff options
author | Elliot Sisteron <elliotsisteron@google.com> | 2023-06-07 17:33:33 +0000 |
---|---|---|
committer | Elliot Sisteron <elliotsisteron@google.com> | 2023-06-07 19:38:31 +0000 |
commit | 12ee4e41001227322fa0859d6487a6e2b1848e7e (patch) | |
tree | fe71f6f22a9402258d62507b25f4b4e35dc99337 /PermissionController/src/com | |
parent | 345c20152776648d921b77d6b900eea783c64631 (diff) | |
download | Permission-12ee4e41001227322fa0859d6487a6e2b1848e7e.tar.gz |
Slight refactor of SafetyCenterResourcesContext.
Only cache the resources context, not every field.
Ideally it should implement ContextWrapper for the resources APK
context directly, I may follow up with another CL to do that (it's
a bit more risky and involved).
Also guard it by the API lock to make sure the resources context
is loaded at most once.
Bug: 283100177
Test: atest CtsSafetyCenterTestCases
Relnote: N/A
Change-Id: Ia54faa909105566fd5382c68b3e9046e1628267b
Diffstat (limited to 'PermissionController/src/com')
0 files changed, 0 insertions, 0 deletions