summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author William Loh <wloh@google.com> 2024-02-29 14:36:57 -0800
committer William Loh <wloh@google.com> 2024-02-29 14:48:12 -0800
commitcb94c877b04ce46f62f46e4bf0580e57c22d3da2 (patch)
treeed6be88d4b8d9b46da4cc26d1d18035e08cc7989 /libs/androidfw/StringPool.cpp
parent8454fc6b282313919b5d37861f4736cc7d789d2a (diff)
Check for metadata file by attempting to open
Checking for the app.metadata file by attempting to open a Inputstream to the file avoids the overhead of using the AssetManager.list() API. Bug: 327429424 Test: atest InstallAppMetadataTest Test: atest PackageParsingPerfTest Change-Id: Ie2ee4550d31b3ca76285add068bb347cd2ead82c
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions