commit | fdd241a1e026afeeb68d30cb3d999ee9506769ce | [log] [tgz] |
---|---|---|
author | Todd Kennedy <toddke@google.com> | Thu Apr 28 12:26:53 2016 -0700 |
committer | Todd Kennedy <toddke@google.com> | Fri Apr 29 14:23:43 2016 -0700 |
tree | 94dea46358dccd7280c0be17e8b0619e6997640e | |
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