diff options
author | Christopher Tate <ctate@android.com> | 2009-07-15 16:45:50 -0700 |
---|---|---|
committer | Christopher Tate <ctate@android.com> | 2009-07-15 16:50:24 -0700 |
commit | e97e807a468bf64ad614fca77d350b016f3ce4a9 (patch) | |
tree | f9d71e526edd99f1e601f5cb786891f70079714a /vpn/java/android/net | |
parent | f3ea3e09684c82016e13140d68019b968c793190 (diff) | |
download | frameworks_base-e97e807a468bf64ad614fca77d350b016f3ce4a9.zip frameworks_base-e97e807a468bf64ad614fca77d350b016f3ce4a9.tar.gz frameworks_base-e97e807a468bf64ad614fca77d350b016f3ce4a9.tar.bz2 |
The rest of ever-backed-up tracking
When a package is uninstalled we now remove our notion of its having been backed
up, thereby forcing a backup pass if it is reinstalled at some point in the
future. Removal from the log means rewriting it and doing an atomic rename to
the canonical version. The temporary existence used during the rewrite is *not*
written synchronously; there's no need and it keeps the load on the flash part
much lower.
Because we might crash & reboot in the middle of the rewrite operation, there's
now code during init that sanity-checks the contents of the ever-backed-up log
and ensures that it's in a coherent state.
Diffstat (limited to 'vpn/java/android/net')
0 files changed, 0 insertions, 0 deletions