commit | 269616bed2cc6bf91696c10c535cbeae7fb2c969 | [log] [tgz] |
---|---|---|
author | Rhed Jao <rhedjao@google.com> | Mon Mar 30 13:23:14 2020 +0800 |
committer | Rhed Jao <rhedjao@google.com> | Thu Apr 02 12:41:51 2020 +0800 |
tree | 5cd3abbd8911f5f134849d23dc762276ba9dabb5 | |
parent | bde104f8be331b97ba8bdb9f0a809245e785ef3f [diff] |
Fix an exception while scanning apex packages Package parser throws an exception while it's in the onlyCoreApp state and parsing an non-core app. Catching the parser exception during scanning apex packages, if the apex is without coreApp attribute and device is in minimal boot state. Also, updates package parser to V2 for the staging manager. Bug: 151296698 Test: atest ApexManagerTest Test: atest StagedInstallTest Change-Id: I098e08d4064812465a29086c3fde1a55348bcae5