Fix calendar sync_account / type constants to be consistent.

The EventsEntity names need to match the rest of the Calendar names.
This commit is contained in:
Ken Shirriff
2010-01-11 16:54:27 -08:00
parent 17acf1747f
commit 53becd92b5

View File

@@ -583,14 +583,14 @@ public final class Calendar {
* {@link #ACCOUNT_TYPE} identifies a specific account.
* <P>Type: TEXT</P>
*/
public static final String ACCOUNT_NAME = "account_name";
public static final String ACCOUNT_NAME = "_sync_account";
/**
* The type of account to which this row belongs, which when paired with
* {@link #ACCOUNT_NAME} identifies a specific account.
* <P>Type: TEXT</P>
*/
public static final String ACCOUNT_TYPE = "account_type";
public static final String ACCOUNT_TYPE = "_sync_account_type";
public static EntityIterator newEntityIterator(Cursor cursor, ContentResolver resolver) {
return new EntityIteratorImpl(cursor, resolver);