commit | 3e62b8f748d39fd383eef0ef23a7d82303c4601e | [log] [tgz] |
---|---|---|
author | Nikita Ioffe <ioffe@google.com> | Sat Jul 10 02:27:51 2021 +0100 |
committer | Nikita Ioffe <ioffe@google.com> | Mon Jul 12 13:51:11 2021 +0000 |
tree | 8dc303e5598be533c2b217fa32ff09c0c54bd23d | |
parent | 24e3ed6e783d1444ac815b7174840aaedd4730bb [diff] |
Fix PackageManager query API's related to rebootless APEX updates There were two bugs: 1. In case of the first update, ApexManager removed information about pre-installed version of the APEX. 2. After an update, getPackageInfo cache wasn't invalidated, which resulted in getPackageInfo returning stale information. Bug: 193085724 Test: atest ApexManagerTest Test: atest StagedInstallInternalTest Change-Id: I6df7b296cd5d83c93524178f1546855747ea6b07