summaryrefslogtreecommitdiff
path: root/tools/aapt2/diff/Diff.cpp
diff options
context:
space:
mode:
authordcashman <dcashman@google.com>2015-06-11 15:22:05 -0700
committerdcashman <dcashman@google.com>2015-06-12 11:18:50 -0700
commit465ef5c43940e31ff4479175e51793c63a0e05ab (patch)
tree5cf9dbff4b3eb98deadfab9cc590398ab75c49b8 /tools/aapt2/diff/Diff.cpp
parent31ae9936a63f484dd872baa7657c4ce79f27d7ce (diff)
Don't use upgrade-key-sets check when scanning during boot.
Apps may specify upgrade-key-sets which are different than their current signing keys to prevent a future upgrade with the current set of keys. Every package is re-scanned on boot, however, so the existing application would violate its own recorded upgrade-key-sets. Change the key verification check to ignore upgrade-key-sets on boot. Also default to the same-sig checks if the upgrade-key-set meta-data has been corrupted. Bug: 21785716 Change-Id: I5c0c1e2017ec780a745a74488620bfe95b052269
Diffstat (limited to 'tools/aapt2/diff/Diff.cpp')
0 files changed, 0 insertions, 0 deletions