commit | de8174b3558953bc368bff618f9837a55f0e742c | [log] [tgz] |
---|---|---|
author | Gavin Corkery <gavincorkery@google.com> | Fri Sep 27 15:02:28 2019 +0100 |
committer | Gavin Corkery <gavincorkery@google.com> | Fri Sep 27 15:02:28 2019 +0100 |
tree | bcae3d99e94f1cc057f56f1ac05f611555855557 | |
parent | 03e5c28da97ce67d1186dbb61dd914ec44fb23b2 [diff] |
Add build fingerprint checks to APK sessions In order to prevent a staged install taking place after receiving an OTA, set the status of a staged session to failed if PackageManagerService.isDeviceUpgrading is true. Bug: 140992644 Test: atest StagedInstallTest#testInstallApkChangingFingerprint Change-Id: I7834bed49b2c7af80f2f07a937f9e15860c13910