OSDN Git Service

fix a bug where if a syncmanager gets back a SyncAlreadyInProgress error
authorFred Quintana <fredq@google.com>
Mon, 1 Mar 2010 20:36:21 +0000 (12:36 -0800)
committerFred Quintana <fredq@google.com>
Mon, 1 Mar 2010 20:36:21 +0000 (12:36 -0800)
commit82c5c4248a5dcd648ecbc311e2b8cd765c388aab
tree65d1561c35bc258fe1dbbaa8c715a19ef2c15272
parent96d92f19c7500ab24ecd82d1cbe2776f430e18a7
fix a bug where if a syncmanager gets back a SyncAlreadyInProgress error
it immediately reschedules another sync, thus burning up the battery if
the sync is in progress for a while.

http://b/issue?id=2477901
core/java/android/content/SyncManager.java
core/java/android/content/SyncOperation.java