diff options
author | Chris Tate <ctate@google.com> | 2010-10-29 12:57:04 -0700 |
---|---|---|
committer | Christopher Tate <ctate@google.com> | 2010-11-29 16:20:49 -0800 |
commit | 249345b842ef7f85b3f23c7fcbc94808808c443f (patch) | |
tree | 37440f7b4304fe6eb89fc4c6f833005cbd5c23ca /core | |
parent | 974ab30569f9543c897047972260887cb33f8827 (diff) | |
download | frameworks_base-249345b842ef7f85b3f23c7fcbc94808808c443f.zip frameworks_base-249345b842ef7f85b3f23c7fcbc94808808c443f.tar.gz frameworks_base-249345b842ef7f85b3f23c7fcbc94808808c443f.tar.bz2 |
Ensure that the first post-restore backup pass is correct
Some restore passes bring an ancestral dataset to the application, but
others instead act to bring an app back into sync with its own most-
recently-saved data. In the latter case the state file written by the
app after the restore is a correct basis for generating future backup
deltas, but in the former case it is not.
The app should not be required to distinguish between these cases;
the framework has all the information necessary to handle the saved
state correctly following any flavor of restore operation. This
patch makes the Backup Manager properly cause a full backup pass
following an ancestral-dataset restore. After a current-set
restore the saved state file is an accurate description for
purposes of continued backup operations, so is preserved.
Change-Id: I5982f32c9bb17fb7c953b465673ced11c40b0d95
Diffstat (limited to 'core')
0 files changed, 0 insertions, 0 deletions