Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 8e23b094 authored by Ivan Chiang's avatar Ivan Chiang
Browse files

[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
parent 3a94306f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment