Index: components/sync/android/java/src/org/chromium/components/sync/AndroidSyncSettings.java |
diff --git a/components/sync/android/java/src/org/chromium/components/sync/AndroidSyncSettings.java b/components/sync/android/java/src/org/chromium/components/sync/AndroidSyncSettings.java |
index ac6636cbcafba6271e231d6d181c881b1290995f..a8517449c7d7d87ee9354a2bf4fe9d6fa5508767 100644 |
--- a/components/sync/android/java/src/org/chromium/components/sync/AndroidSyncSettings.java |
+++ b/components/sync/android/java/src/org/chromium/components/sync/AndroidSyncSettings.java |
@@ -14,7 +14,8 @@ import android.os.StrictMode; |
import org.chromium.base.Callback; |
import org.chromium.base.ObserverList; |
import org.chromium.base.VisibleForTesting; |
-import org.chromium.components.sync.signin.AccountManagerHelper; |
+import org.chromium.components.signin.AccountManagerHelper; |
+import org.chromium.components.signin.ChromeSigninController; |
import javax.annotation.concurrent.ThreadSafe; |
@@ -92,6 +93,8 @@ public class AndroidSyncSettings { |
mSyncContentResolverDelegate = syncContentResolverDelegate; |
mContractAuthority = getContractAuthority(); |
+ mAccount = ChromeSigninController.get(context).getSignedInUser(); |
+ updateSyncability(); |
updateCachedSettings(); |
mSyncContentResolverDelegate.addStatusChangeListener( |