diff options
author | Gavin Corkery <gavincorkery@google.com> | 2020-04-20 16:25:27 +0100 |
---|---|---|
committer | Gavin Corkery <gavincorkery@google.com> | 2020-04-20 22:12:33 +0100 |
commit | 430d5fb8172fd9ad0fc5794ee1b29036967c06d3 (patch) | |
tree | d7844f3f92b935d9b6178eea726641777fc1666f /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | ea6a210cf54fd90c042de30dde70ca3a2a0bc3b0 (diff) |
Extend isModule check for apk-in-apex
If an apk inside an apex is the failing package in a rollback,
we do not retrieve the logging parent of that apk since it is not
considered a module by PackageManager. Instead, extend the logic
to retrieve the logging parent of a package that is an apk-in-apex.
This is done by querying the existing ApexManager mapping.
Test: Manual. Test logging flow on
com.google.android.providers.media.module before and after patch
Bug: 154360162
Change-Id: I264bcd1beff89c966b5733f6be713166d066fc46
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions