Index: sync/android/java/src/org/chromium/sync/signin/AccountManagerHelper.java |
diff --git a/sync/android/java/src/org/chromium/sync/signin/AccountManagerHelper.java b/sync/android/java/src/org/chromium/sync/signin/AccountManagerHelper.java |
index d26be8739376e119b6bcc4a8861d366ed3a8d031..6f49d1fb6976ee20da782dd04b6a9493cc675373 100644 |
--- a/sync/android/java/src/org/chromium/sync/signin/AccountManagerHelper.java |
+++ b/sync/android/java/src/org/chromium/sync/signin/AccountManagerHelper.java |
@@ -289,9 +289,9 @@ public class AccountManagerHelper { |
private void onGotAuthTokenResult(Account account, String authTokenType, String authToken, |
GetAuthTokenCallback callback, AtomicInteger numTries, AtomicBoolean errorEncountered, |
ConnectionRetry retry) { |
- if (authToken != null || !errorEncountered.get() || |
- numTries.incrementAndGet() == MAX_TRIES || |
- !NetworkChangeNotifier.isInitialized()) { |
+ if (authToken != null || !errorEncountered.get() |
+ || numTries.incrementAndGet() == MAX_TRIES |
+ || !NetworkChangeNotifier.isInitialized()) { |
callback.tokenAvailable(authToken); |
return; |
} |