diff options
author | Michael Groover <mpgroover@google.com> | 2021-01-25 23:55:58 -0800 |
---|---|---|
committer | Michael Groover <mpgroover@google.com> | 2021-01-29 11:23:32 -0800 |
commit | 0ee1e6b15cceebb537b8072294cfaebf4ed44874 (patch) | |
tree | e5b33a75fba833398842648413e21913d56579c6 /rs/java/android/renderscript/ProgramStore.java | |
parent | c64d83723fb91b05d90cb3c261cd36a6018cdf7f (diff) |
Allow APK rollback without rollback capability on previous key
Currently if an APK rollback is requested after an update to an APK
that just rotated its signing key the rollback will only be allowed
if the previous signing key in the lineage has the rollback
capability granted. This commit allows a rollback to the previously
installed APK without requiring the rollback capability if the
rollback API is used. This allows apps to take advantage of APK
rollbacks without losing the benefit of key rotation by needing to
set the rollback capability on the previous signing key.
Bug: 175231724
Test: atest RollbackTest
Test: atest RollbackManaagerTest
Test: atest PkgInstallSignatureVerificationTest
Change-Id: I460ef4e7d4c221509b6442f2e8d3079229ad07c8
Diffstat (limited to 'rs/java/android/renderscript/ProgramStore.java')
0 files changed, 0 insertions, 0 deletions