summaryrefslogtreecommitdiffstats
path: root/core/java
diff options
context:
space:
mode:
authorChristopher Tate <ctate@google.com>2009-07-01 12:34:29 -0700
committerChristopher Tate <ctate@google.com>2009-07-01 12:38:06 -0700
commit49401ddb9ac11ad5caead4e4cefcaa81d2418ed2 (patch)
tree147cca0a95c8da6b1bc547756da6bda6c0341929 /core/java
parentce0bf069fe8c5c93f91cb70b0cd9365245d144c1 (diff)
downloadframeworks_base-49401ddb9ac11ad5caead4e4cefcaa81d2418ed2.zip
frameworks_base-49401ddb9ac11ad5caead4e4cefcaa81d2418ed2.tar.gz
frameworks_base-49401ddb9ac11ad5caead4e4cefcaa81d2418ed2.tar.bz2
Revamp backup scheduling policy
We now schedule a periodic check of pending backups; if any apps have requested a backup since the last check, we perform all of the pending backups. The periodic backup scheduling matches the enable/disable state of the backup manager; while backups are disabled entirely there are no periodic wakeups. The period is set here to one hour. If an external caller (transport, the 'bmgr' command line tool, etc) requests an immediate backup pass, that is performed and then the periodic backup check is rescheduled using that pass as the starting point of a new interval.
Diffstat (limited to 'core/java')
0 files changed, 0 insertions, 0 deletions