commit | f16ebd08113fd6060a6420be6a436688bc797211 | [log] [tgz] |
---|---|---|
author | Richard Uhler <ruhler@google.com> | Wed Feb 27 11:18:45 2019 +0000 |
committer | Richard Uhler <ruhler@google.com> | Wed Feb 27 14:41:41 2019 +0000 |
tree | 1a1887948ec08935600b6247725452a1a6546789 | |
parent | 479a296d6d3e0058e78791f1d272376b9a1032e0 [diff] |
Miscellaneous cleanup in RollbackStore. * Factor out code for reading and writing RollbackInfo from json. * Make methods static where appropriate. * Minor other cleanup. In preparation for having RollbackData reuse RollbackInfo so we don't end up with duplicate copies of PackageRollbackInfo for a rollback so we can fix the bug when doing userdata restore for staged installs. Test: atest RollbackTest Bug: 124044231 Change-Id: I4f579393c1ffe8d519560ed223f61b002d730c50