Skip to content
Commit d3868dcf authored by Nikita Ioffe's avatar Nikita Ioffe
Browse files

ApexManager: add API to get PackageInfo for given apexPackageName

This is a temporary API to mitigate a bug in StagingManager that uses
getActivePackage API incorrectly, i.e. instead of passing packageName
parsed from AndroidManifest.xml, it incorrectly passes packageName
from ApexInfo.aidl.

This is a quick-fix that can be CP-ed into beta4. Proper version will be
implemented in a follow-up CL.

Test: atest CtsStagedInstallHostTestCases
Test: on user build run:
      adb pull /system/apex/com.android.tzdata.apex /tmp/tzdata.apex &&
      adb install /tmp/tzdata.apex
      Verified install succeeded.
Bug: 132324953
Change-Id: I00ae711e93f32e81f53584d19c9ebc851757f205
parent 973ec50c
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