[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
Loading
Please register or sign in to comment