diff options
| author | 2019-02-21 15:54:54 +0000 | |
|---|---|---|
| committer | 2019-02-27 15:19:44 +0000 | |
| commit | 8bbb815a7515232e59b719a0941b64828367c8de (patch) | |
| tree | 8b5437db39ca272e09d76e0fd296cec33ecc8749 /tools/aapt2/ResourceTable.cpp | |
| parent | 750c23d5415c3d012edf2bf91a49098de691091c (diff) | |
Don't allow downgrade of apexes unless INSTALL_ALLOW_DOWNGRADE is set
Extracted check on whenever downgrades are allowed to
PackageManagerServiceUtils# isDowngradePermitteisDowngradePermitted
method to share it between PackageManagerService and StagingManager.
E2E test will happen in a follow-up CL. Need to refactor
ApexE2EBaseHostTest a bit before.
Bug: 124859257
Test: manually tried to downgrade using adb install with and without -d
Change-Id: Iaf0110965a4e7a82ae07f708368807aaac8cc4ec
Diffstat (limited to 'tools/aapt2/ResourceTable.cpp')
0 files changed, 0 insertions, 0 deletions