diff options
author | Nikita Ioffe <ioffe@google.com> | 2019-05-09 20:40:54 +0100 |
---|---|---|
committer | Nikita Ioffe <ioffe@google.com> | 2019-05-09 21:26:30 +0100 |
commit | d3868dcf5e0ac6ccbc16fb00aed353ad84e91d7d (patch) | |
tree | 90ea1f36006a806b8a8869a08c485ce709ee9301 /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | 973ec50c2725e6d11de38de4989876d52b154597 (diff) |
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
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions