Index: chrome/android/java/src/org/chromium/chrome/browser/sync/DelayedSyncController.java |
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/sync/DelayedSyncController.java b/chrome/android/java/src/org/chromium/chrome/browser/sync/DelayedSyncController.java |
index d7a710325babac9f952f45402506ddd31d20fc28..2df5f060c057af35e32df374a2f251abf89cf932 100644 |
--- a/chrome/android/java/src/org/chromium/chrome/browser/sync/DelayedSyncController.java |
+++ b/chrome/android/java/src/org/chromium/chrome/browser/sync/DelayedSyncController.java |
@@ -15,7 +15,7 @@ import android.util.Log; |
import com.google.common.annotations.VisibleForTesting; |
-import org.chromium.base.ActivityStatus; |
+import org.chromium.base.ApplicationStatus; |
import org.chromium.sync.notifier.SyncStatusHelper; |
import org.chromium.sync.signin.AccountManagerHelper; |
@@ -93,7 +93,7 @@ public class DelayedSyncController { |
boolean shouldPerformSync(Context ctx, Bundle extras, Account account) { |
boolean manualSync = isManualSync(extras); |
- if (manualSync || ActivityStatus.isApplicationVisible()) { |
+ if (manualSync || ApplicationStatus.hasVisibleActivities()) { |
clearDelayedSyncs(ctx); |
return true; |
} else { |