diff options
| author | 2022-10-31 16:34:28 +0800 | |
|---|---|---|
| committer | 2022-11-01 09:48:04 +0000 | |
| commit | c3380c162b27dab9664dd8556611ec20f309ba67 (patch) | |
| tree | 1b8cd5f979ee306017e63e2d23b967a851df0b3e /libs/androidfw/ResourceUtils.cpp | |
| parent | d5723a21ebd009caec25651a8fb7fe8384c2625c (diff) | |
Avoid to hold a strong reference to Context object
We only use parts of Context in the Content Capture manager and
main session, we don't need to cache context object which will
cause some memory issues.
This change will extract the necessary information to save it, instead
of caching the entire context object.
Bug: 256247718
Fixes: 239192932
Test: atest CtsContentCaptureServiceTestCases
Change-Id: Id7b5e8617c521f31879199b0f2c7e18204bb7526
Diffstat (limited to 'libs/androidfw/ResourceUtils.cpp')
0 files changed, 0 insertions, 0 deletions