diff options
author | Christopher Tate <ctate@google.com> | 2011-10-05 16:05:43 -0700 |
---|---|---|
committer | Christopher Tate <ctate@google.com> | 2011-10-05 16:05:43 -0700 |
commit | 336a649cd83dccc8a18125b8f3c0ce5cdd021602 (patch) | |
tree | 18e404ca1cf37e4ec368379e04611efb71105921 /graphics/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | 63d8b0c8b509fb744c034c67027380959279cdc4 (diff) |
Prevent concurrent backup operations
We've seen cases (bug 5417779) where the transport kicked off an immediate
backup operation but then was perfectly content to allow the periodic
timer to start *another* pass concurrently while the first was still in
progress. This wound up with the backup manager getting mightily
confused and leaking wakelock acquisitions, which is Very Bad(tm).
This patch adds a little bookkeeping so that the backup manager is aware
of backups in flight, and refuses to kick off a new one until the ongoing
one has finished.
Change-Id: If12b54f4db3effc8af36d31c58d8f9b415ddc01e
Diffstat (limited to 'graphics/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions