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

Commit 73f43da5 authored by Ricky Wai's avatar Ricky Wai Committed by Android (Google) Code Review
Browse files

Merge "Add Phone.ENTERPRISE_CONTENT_URI"

parents c016e4c9 fa5bbaf6
Loading
Loading
Loading
Loading
+23 −0
Original line number Original line Diff line number Diff line
@@ -4599,6 +4599,15 @@ public final class ContactsContract {
         */
         */
        public static final Uri CONTENT_URI = Uri.withAppendedPath(AUTHORITY_URI, "data");
        public static final Uri CONTENT_URI = Uri.withAppendedPath(AUTHORITY_URI, "data");


        /**
        * The content:// style URI for this table in managed profile, which requests a directory
        * of data rows matching the selection criteria.
        *
        * @hide
        */
        static final Uri ENTERPRISE_CONTENT_URI = Uri.withAppendedPath(AUTHORITY_URI,
                "data_enterprise");

        /**
        /**
         * A boolean parameter for {@link Data#CONTENT_URI}.
         * A boolean parameter for {@link Data#CONTENT_URI}.
         * This specifies whether or not the returned data items should be filtered to show
         * This specifies whether or not the returned data items should be filtered to show
@@ -5750,6 +5759,20 @@ public final class ContactsContract {
            public static final Uri CONTENT_URI = Uri.withAppendedPath(Data.CONTENT_URI,
            public static final Uri CONTENT_URI = Uri.withAppendedPath(Data.CONTENT_URI,
                    "phones");
                    "phones");


            /**
            * URI used for getting all contacts from primary and managed profile.
            *
            * It supports the same semantics as {@link #CONTENT_URI} and returns the same
            * columns.  If the device has no corp profile that is linked to the current profile, it
            * behaves in the exact same way as {@link #CONTENT_URI}.  If there is a corp profile
            * linked to the current profile, it will merge corp profile and current profile's
            * results and return
            *
            * @hide
            */
            public static final Uri ENTERPRISE_CONTENT_URI =
                    Uri.withAppendedPath(Data.ENTERPRISE_CONTENT_URI, "phones");

            /**
            /**
             * The content:// style URL for phone lookup using a filter. The filter returns
             * The content:// style URL for phone lookup using a filter. The filter returns
             * records of MIME type {@link #CONTENT_ITEM_TYPE}. The filter is applied
             * records of MIME type {@link #CONTENT_ITEM_TYPE}. The filter is applied