commit | cde87f45e0fa052d070b88ae33fb03c89870536a | [log] [tgz] |
---|---|---|
author | Christopher Tate <ctate@google.com> | Fri Jun 12 12:55:53 2009 -0700 |
committer | Christopher Tate <ctate@google.com> | Fri Jun 12 13:57:39 2009 -0700 |
tree | 5f0972e6f965cc06bb3d773038f79096e0715ace | |
parent | 0b77453076a22569f24318d194b378b68f11a63e [diff] |
Journal backup requests so that they won't be lost in a crash When an application requests a backup via dataChanged(), we now journal that fact on disk. The journal persists and is only removed following a successful backup pass. When the backup manager is started at boot time, it looks for any existing journal files and schedules a backup for the apps listed in them, on the expectation that the device shut down or crashed before a backup could be performed.