Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1877924d authored by Georgi Nikolov's avatar Georgi Nikolov Committed by Android (Google) Code Review
Browse files

Merge "Don't back-off ALREADY_IN_PROGRESS syncs" into lmp-dev

parents e7b1a0b6 3c8a42dd
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -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);
                    }
                    // reschedule the sync if so indicated by the syncResult
                    maybeRescheduleSync(syncResult, syncOperation);
                    historyMessage = ContentResolver.syncErrorToString(