Index: chrome/android/javatests/src/org/chromium/chrome/browser/sync/DelayedSyncControllerTest.java |
diff --git a/chrome/android/javatests/src/org/chromium/chrome/browser/sync/DelayedSyncControllerTest.java b/chrome/android/javatests/src/org/chromium/chrome/browser/sync/DelayedSyncControllerTest.java |
index 97e3f23f59234237b680137c33057717bbf4d326..fb085cb1d1e771146c15cf06c37b0d242be01733 100644 |
--- a/chrome/android/javatests/src/org/chromium/chrome/browser/sync/DelayedSyncControllerTest.java |
+++ b/chrome/android/javatests/src/org/chromium/chrome/browser/sync/DelayedSyncControllerTest.java |
@@ -16,7 +16,7 @@ import com.google.common.annotations.VisibleForTesting; |
import static org.chromium.base.test.util.ScalableTimeout.scaleTimeout; |
-import org.chromium.base.ActivityStatus; |
+import org.chromium.base.ApplicationStatus; |
import org.chromium.base.test.util.Feature; |
import org.chromium.chrome.testshell.ChromiumTestShellTestBase; |
import org.chromium.content.browser.test.util.Criteria; |
@@ -114,6 +114,6 @@ public class DelayedSyncControllerTest extends ChromiumTestShellTestBase { |
} |
private static boolean isActivityResumed() { |
- return ActivityStatus.isApplicationVisible(); |
+ return ApplicationStatus.hasVisibleActivities(); |
} |
} |