summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Ivan Chiang <chiangi@google.com> 2023-06-21 06:02:00 +0000
committer Ivan Chiang <chiangi@google.com> 2023-06-28 06:16:12 +0000
commit8e23b094c88eb1336de95d2388894d381160fe6a (patch)
treefe12e5534d4848b8bd7fdef9b442a3334b027e8d /libs/androidfw/StringPool.cpp
parent3a94306ff2d19799eec7650450c22a96d9c579c8 (diff)
[pm] Extract the profiles from the apk in install stage
When we parse the apk, if there is no flag to not extract the profiles, extract the profiles from the apk and create a ZIP archive includes them. And put the zip fie in the same directory with the apk Bug: 257532944 Test: 1. adb install foo.apk After installng the apk successfully, the .dm files exist in the same directory with the apk. 2. adb install --no-profile foo.apk. No .dm files exist in the same directory after the installation is completed. 3. adb install-multiple foo.apk foo.dm Don't extract the profiles again. 4. Test install-create case Change-Id: I02651e12adf4964754f8bb44fd19889ea94bea3c
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions