commit | b059e2f6d0d7f3b68e304a8ecb79aebbfd5112c3 | [log] [tgz] |
---|---|---|
author | JW Wang <wangchun@google.com> | Tue Dec 31 15:58:31 2019 +0800 |
committer | JW Wang <wangchun@google.com> | Fri Jan 03 14:31:39 2020 +0800 |
tree | 2fe705487b9f6034e719b5d542ce56f65756803f | |
parent | 8108251a87831ee7c0afd6d62e0e7a3083dedd98 [diff] |
Use PackageRollbackInfo#getVersionRolledBackFrom to simplify code (2/n) PackageRollbackInfo#getVersionRolledBackFrom returns a VersionedPackage which contains a version code. No need to query the version code from the package manager. Bug: 147028082 Test: atest StagedRollbackTest Change-Id: I769e726183ee99bb9e8c7576bb8b6c21a75fe2ff