diff options
| author | 2024-06-25 19:53:16 -0700 | |
|---|---|---|
| committer | 2024-07-30 11:27:12 +0000 | |
| commit | dc1d67b461cdd46a4c31132743aa30741b3b804a (patch) | |
| tree | 7ff8aba5499ffbc0614cf7606c3336778f00e59f /libs/androidfw/StringPool.cpp | |
| parent | 117956ee69e20843456341e5d61a4b27f5f7b8b8 (diff) | |
[res] Fix the registered shared lib asset caching
We must use the ResourcesManager's ApkAssets cache for the
registered library assets, otherwise each Resources object
is going to create a separate FD and parse the same WebView
apk again, quickly exceeding the system limits for FDs per
process.
+ correctly differentiate the overlays vs apps for the
registered library paths
Bug: 343567870
Flag: android.content.res.register_resource_paths
Test: atest CtsResourcesTestCases
Change-Id: I089ec2fecc875d758a0a5639e7db77081927a25f
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions