OSDN Git Service

Don't forget to clear "backup in progress" state when finishing a pass
authorChristopher Tate <ctate@android.com>
Sun, 27 Sep 2009 22:16:44 +0000 (15:16 -0700)
committerandroid-build SharedAccount <android-build@sekiwake.mtv.corp.google.com>
Mon, 28 Sep 2009 00:40:26 +0000 (17:40 -0700)
commit00db92e7e4ff53d658cffc8f42a3e0783cb1e2b0
tree77585d695c9763df1f413a04acafbe3f2acf2ec7
parentdf72b14fae157d56ec549877b71a250ccca3f08e
Don't forget to clear "backup in progress" state when finishing a pass

If a backup pass had been skipped (either because the transport was unavailable
or -- in a common case! -- because there was simply no work pending when the
periodic backup check fired), we were forgetting to reset the "backup currently
in progress" flag.  Once we'd done that, the device would *NEVER* perform a
backup until it was rebooted, since it would forever think that there was one
currently in operation that must not be interfered with.

Change-Id: I0d6d7375dc6de99b599222a449934e70fe13ebb9
services/java/com/android/server/BackupManagerService.java