summaryrefslogtreecommitdiff
path: root/libs/androidfw/ResourceTimer.cpp
diff options
context:
space:
mode:
author TYM Tsai <tymtsai@google.com> 2022-10-31 16:34:28 +0800
committer Winson Chung <winsonc@google.com> 2022-11-02 19:20:27 +0000
commitd5063d26f9de055fb02cd5de0515f5269c11febd (patch)
tree8dbdefd625e3145328c6c66a9978ca08ae4120cb /libs/androidfw/ResourceTimer.cpp
parentad23a83ccfc96513d046bc812d90aea604169557 (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 Merged-In: Id7b5e8617c521f31879199b0f2c7e18204bb7526 (cherry picked from commit c3380c162b27dab9664dd8556611ec20f309ba67)
Diffstat (limited to 'libs/androidfw/ResourceTimer.cpp')
0 files changed, 0 insertions, 0 deletions