summaryrefslogtreecommitdiff
path: root/libs/rs/rsObjectBase.cpp
diff options
context:
space:
mode:
author Christopher Tate <ctate@google.com> 2009-06-19 14:14:22 -0700
committer Christopher Tate <ctate@google.com> 2009-06-19 15:24:51 -0700
commit6aa41f4c575479672661f7eb4c704ef59d26a629 (patch)
tree5af2115ba57391f6ec3e057487e6b539886034de /libs/rs/rsObjectBase.cpp
parent3af8e9389e008c0076b86cc6b3c6f005e7473d10 (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'.
Diffstat (limited to 'libs/rs/rsObjectBase.cpp')
0 files changed, 0 insertions, 0 deletions