summaryrefslogtreecommitdiff
path: root/libs/androidfw/FileStream.cpp
diff options
context:
space:
mode:
author Yurii Zubrytskyi <zyy@google.com> 2024-06-25 19:53:16 -0700
committer Yurii Zubrytskyi <zyy@google.com> 2024-06-26 16:02:18 -0700
commitc9c0d5eee84bcb8d2db519f2cfadddebe9d35881 (patch)
tree0d4a2997b59376b1c6b43acadd1d373b626d2b90 /libs/androidfw/FileStream.cpp
parent083bbcfec8a0f56a75df5e98ff95cbc218e7db86 (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/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions