summaryrefslogtreecommitdiff
path: root/libs/utils/BackupData.cpp
diff options
context:
space:
mode:
author Christopher Tate <ctate@android.com> 2009-08-10 16:13:47 -0700
committer Christopher Tate <ctate@android.com> 2009-08-11 17:25:12 -0700
commit0e0b4ae5bc5c652c8339d71ed9667e1e37baaa03 (patch)
tree42fa43521b6d394421d9f93f8191da457876ec63 /libs/utils/BackupData.cpp
parenta1cbccd7b31f3c33ea46b7fe2a287168eb672056 (diff)
Don't let bmgr leave a restore session hanging on error
Specifically, don't wait for the RestoreObserver to be informed that the restore has completed unless performRestore() ran. We were winding up in a case where bmgr was hanging forever waiting on a nonexistent restore process instead of calling endRestoreSession(). Also improve the documentation, explicitly calling out the need to call endRestoreSession() even if previous operations on the session were unsuccessful.
Diffstat (limited to 'libs/utils/BackupData.cpp')
0 files changed, 0 insertions, 0 deletions