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

Commit 67b21509 authored by yuemingw's avatar yuemingw
Browse files

Create a constant for enterprise root uri.

Test: atest CalendarProvider2Test
Bug: 123631240
Change-Id: I4db3f02f3bd9d1e0decff83eb490dc9a8d53451e
parent 3db90878
Loading
Loading
Loading
Loading
+16 −0
Original line number Diff line number Diff line
@@ -182,6 +182,22 @@ public final class CalendarContract {
     */
    public static final Uri CONTENT_URI = Uri.parse("content://" + AUTHORITY);

    /**
     * The content:// style URL for the top-level cross-profile calendar uris.
     * {@link android.database.ContentObserver} for this URL in the primary profile will be
     * notified when there is a change in the managed profile calendar provider.
     *
     * @see Events#ENTERPRISE_CONTENT_URI
     * @see Calendars#ENTERPRISE_CONTENT_URI
     * @see Instances#ENTERPRISE_CONTENT_URI
     * @see Instances#ENTERPRISE_CONTENT_BY_DAY_URI
     * @see Instances#ENTERPRISE_CONTENT_SEARCH_URI
     * @see Instances#ENTERPRISE_CONTENT_SEARCH_BY_DAY_URI
     * @hide
     */
    public static final Uri ENTERPRISE_CONTENT_URI = Uri.parse(
            "content://" + AUTHORITY + "/enterprise");

    /**
     * An optional insert, update or delete URI parameter that allows the caller
     * to specify that it is a sync adapter. The default value is false. If set