commit | 8c04facdf5e76fb34c55cfe3dc9a0216322b91b8 | [log] [tgz] |
---|---|---|
author | dcashman <dcashman@google.com> | Mon Mar 23 11:39:42 2015 -0700 |
committer | dcashman <dcashman@google.com> | Tue Mar 31 09:27:31 2015 -0700 |
tree | 57caddd36fd125113ab3731dfd9a256835a7f720 | |
parent | 521c125d56e80bb24a2e05d33f554a3fd24d4b6a [diff] |
Refactor KeySet code. Eliminate dependency in packagesetting keyset metadata on other packages by introducing reference counts for KeySets and public keys. This also allows keysets to retain their id across reboots by eliminating the need to remove all keyset data after scanning all packages on boot, which also should drastically reduce the number of calls to ArraySet.removeAll(). Bug: 19617481 Change-Id: I6cc65f30e431b8e4ebe49047a9219a0d983f2774