Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(237)

Unified Diff: sync/android/java/src/org/chromium/sync/AndroidSyncSettings.java

Issue 1135113006: Revert of [Sync] Remove periodic sync for Chrome for Android (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | sync/android/java/src/org/chromium/sync/SyncContentResolverDelegate.java » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/android/java/src/org/chromium/sync/AndroidSyncSettings.java
diff --git a/sync/android/java/src/org/chromium/sync/AndroidSyncSettings.java b/sync/android/java/src/org/chromium/sync/AndroidSyncSettings.java
index 681685719648973d20e70572d8b720b674e186ba..3587e76bb1dfc41b24d7a037e5cb8d8a3ebca4dc 100644
--- a/sync/android/java/src/org/chromium/sync/AndroidSyncSettings.java
+++ b/sync/android/java/src/org/chromium/sync/AndroidSyncSettings.java
@@ -8,7 +8,6 @@
import android.content.ContentResolver;
import android.content.Context;
import android.content.SyncStatusObserver;
-import android.os.Bundle;
import android.os.StrictMode;
import org.chromium.base.ObserverList;
@@ -222,9 +221,6 @@
// Make account syncable if there is one.
if (shouldBeSyncable) {
mSyncContentResolverDelegate.setIsSyncable(mAccount, mContractAuthority, 1);
- // This reduces unnecessary resource usage. See http://crbug.com/480688 for details.
- mSyncContentResolverDelegate.removePeriodicSync(
- mAccount, mContractAuthority, Bundle.EMPTY);
}
// Disable the syncability of Chrome for all other accounts. Don't use
« no previous file with comments | « no previous file | sync/android/java/src/org/chromium/sync/SyncContentResolverDelegate.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698