Searched refs:hasAccountsPermission (Results 1 – 1 of 1) sorted by relevance
259 boolean hasAccountsPermission = PermissionsUtil.checkAllPermissionsGranted( in refreshSyncSettingsUI()262 final String[] accountsForLogin = hasAccountsPermission ? in refreshSyncSettingsUI()264 final String currentAccount = hasAccountsPermission ? getSignedInAccountName() : null; in refreshSyncSettingsUI()266 if (hasAccountsPermission && !mManagedProfileBeingDetected.get() && in refreshSyncSettingsUI()274 refreshSyncSettingsMessaging(hasAccountsPermission, mManagedProfileBeingDetected.get(), in refreshSyncSettingsUI()286 private void refreshSyncSettingsMessaging(boolean hasAccountsPermission, in refreshSyncSettingsMessaging() argument295 if (!hasAccountsPermission) { in refreshSyncSettingsMessaging()