Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 53becd92 authored by Ken Shirriff's avatar Ken Shirriff
Browse files

Fix calendar sync_account / type constants to be consistent.

The EventsEntity names need to match the rest of the Calendar names.
parent 17acf174
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -583,14 +583,14 @@ public final class Calendar {
         * {@link #ACCOUNT_TYPE} identifies a specific account.
         * {@link #ACCOUNT_TYPE} identifies a specific account.
         * <P>Type: TEXT</P>
         * <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
         * The type of account to which this row belongs, which when paired with
         * {@link #ACCOUNT_NAME} identifies a specific account.
         * {@link #ACCOUNT_NAME} identifies a specific account.
         * <P>Type: TEXT</P>
         * <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) {
        public static EntityIterator newEntityIterator(Cursor cursor, ContentResolver resolver) {
            return new EntityIteratorImpl(cursor, resolver);
            return new EntityIteratorImpl(cursor, resolver);