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

Commit 8fdd45e1 authored by Ken Shirriff's avatar Ken Shirriff Committed by Android (Google) Code Review
Browse files

Merge "Add SyncState class for calendar provider."

parents 96949efc ead4f9ce
Loading
Loading
Loading
Loading
+21 −0
Original line number Diff line number Diff line
@@ -1413,4 +1413,25 @@ public final class Calendar {
        // TODO: fill out this class when we actually start utilizing extendedproperties
        // in the calendar application.
   }

    /**
     * A table provided for sync adapters to use for storing private sync state data.
     *
     * @see SyncStateContract
     */
    public static final class SyncState implements SyncStateContract.Columns {
        /**
         * This utility class cannot be instantiated
         */
        private SyncState() {}

        public static final String CONTENT_DIRECTORY =
                SyncStateContract.Constants.CONTENT_DIRECTORY;

        /**
         * The content:// style URI for this table
         */
        public static final Uri CONTENT_URI =
                Uri.withAppendedPath(Calendar.CONTENT_URI, CONTENT_DIRECTORY);
    }
}