diff options
author | Todd Kennedy <toddke@google.com> | 2016-04-28 12:26:53 -0700 |
---|---|---|
committer | Todd Kennedy <toddke@google.com> | 2016-04-29 14:23:43 -0700 |
commit | fdd241a1e026afeeb68d30cb3d999ee9506769ce (patch) | |
tree | 94dea46358dccd7280c0be17e8b0619e6997640e /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | 8438a7297c16c1ee73f4e67efef18ad9062e15f1 (diff) |
Restrict updates of system packages
By declaring a <restrict-update> tag in its manifest, a system package
can restrict its update to be the singular package that has the same
given hash. An update's hash is the SHA-512 across all its APKs [i.e.
for splits, the SHA-512 is calculated over the concatenation of the
base plus all splits].
The restriction only applies to system packages.
Bug: 28398205
Change-Id: Iec493fc8ef27edee53f1d437cb0caaa78782f329
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions