Merge "Don't back-off ALREADY_IN_PROGRESS syncs" into lmp-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
1877924da0
@@ -2757,9 +2757,7 @@ public class SyncManager {
|
||||
} else {
|
||||
Log.d(TAG, "failed sync operation " + syncOperation + ", " + syncResult);
|
||||
// the operation failed so increase the backoff time
|
||||
if (!syncResult.syncAlreadyInProgress) {
|
||||
increaseBackoffSetting(syncOperation);
|
||||
}
|
||||
increaseBackoffSetting(syncOperation);
|
||||
// reschedule the sync if so indicated by the syncResult
|
||||
maybeRescheduleSync(syncResult, syncOperation);
|
||||
historyMessage = ContentResolver.syncErrorToString(
|
||||
|
||||
Reference in New Issue
Block a user