checks whether sync is currently enabled from chrome for the currently signed in account . it checks both the master sync for the device , and chrome sync setting for the given account . if no user is currently signed in it returns false . concode_field_sep SyncContentResolverDelegate mSyncContentResolverDelegate concode_elem_sep boolean mMasterSyncEnabled concode_elem_sep ObserverList<AndroidSyncSettingsObserver> mObservers concode_elem_sep Object CLASS_LOCK concode_elem_sep boolean mIsSyncable concode_elem_sep Object mLock concode_elem_sep Context mApplicationContext concode_elem_sep Account mAccount concode_elem_sep String TAG concode_elem_sep AndroidSyncSettings sInstance concode_elem_sep boolean mChromeSyncEnabled concode_elem_sep String mContractAuthority concode_field_sep boolean isChromeSyncEnabled concode_elem_sep void androidSyncSettingsChanged concode_elem_sep void disableChromeSync concode_elem_sep String getContractAuthority concode_elem_sep String getContractAuthority concode_elem_sep void onStatusChanged concode_elem_sep void notifyObservers concode_elem_sep void updateAccount concode_elem_sep boolean updateCachedSettings concode_elem_sep void ensureInitialized concode_elem_sep void enableChromeSync concode_elem_sep void overrideForTests concode_elem_sep void setChromeSyncEnabled concode_elem_sep void updateSyncability concode_elem_sep void registerObserver concode_elem_sep void unregisterObserver concode_elem_sep boolean isMasterSyncEnabled
boolean function ( Context arg0 ) { ensureInitialized ( arg0 ) ; return sInstance . mMasterSyncEnabled && sInstance . mChromeSyncEnabled ; }