commit | 6aa41f4c575479672661f7eb4c704ef59d26a629 | [log] [tgz] |
---|---|---|
author | Christopher Tate <ctate@google.com> | Fri Jun 19 14:14:22 2009 -0700 |
committer | Christopher Tate <ctate@google.com> | Fri Jun 19 15:24:51 2009 -0700 |
tree | 5af2115ba57391f6ec3e057487e6b539886034de | |
parent | 3af8e9389e008c0076b86cc6b3c6f005e7473d10 [diff] |
Add app version to the backup metadata We now record the version number of the app (drawn from its manifest versionCode attribute) along with its signatures. At restore time, we compare the version associated with the restore set with the version present on the device. If the restore set is from a newer version of the app than is present on device, we do not perform the restore operation. Also fix the pending-backup iteration in 'dumpsys backup'.