public static void startCalendarMetafeedSync(Account account) {
        Bundle extras = new Bundle();
        extras.putBoolean(ContentResolver.SYNC_EXTRAS_MANUAL, true);
        extras.putBoolean("metafeedonly", true);
        ContentResolver.requestSync(account, Calendars.CONTENT_URI.getAuthority(), extras);
    }
public static void startCalendarMetafeedSync ( Account account ) { Bundle extras = new Bundle ( ) ; extras . putBoolean ( ContentResolver . SYNC_EXTRAS_MANUAL , true ) ; extras . putBoolean ( "metafeedonly" , true ) ; ContentResolver . requestSync ( account , Calendars . CONTENT_URI . getAuthority ( ) , extras ) ; }
Checks the server for an updated list of Calendars (in the background).
<p/>
If a Calendar is added on the web (and it is selected and not
hidden) then it will be added to the list of calendars on the phone
(when this finishes).  When a new calendar from the
web is added to the phone, then the events for that calendar are also
downloaded from the web.
<p/>
This sync is done automatically in the background when the
SelectCalendars activity and fragment are started.

@param account - The account to sync. May be null to sync all accounts.