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

Commit cb2a6597 authored by cretin45's avatar cretin45 Committed by Ed Carrigan
Browse files

ContactsProvider: Make ContactCounts public like cm11

* Needed for Mms recipients list

Change-Id: I50010dc9d9759ecd04676df192ca2639e62d295b
parent 16e8c723
Loading
Loading
Loading
Loading
+15 −1
Original line number Diff line number Diff line
@@ -1111,7 +1111,15 @@ public final class ContactsContract {
        public static final String SORT_KEY_ALTERNATIVE = "sort_key_alt";
    }

    interface ContactCounts {
    /**
     * URI parameter and cursor extras that return counts of rows grouped by the
     * address book index, which is usually the first letter of the sort key.
     * When this parameter is supplied, the row counts are returned in the
     * cursor extras bundle.
     *
     * @hide
     */
    public interface ContactCounts {

        /**
         * Add this query parameter to a URI to get back row counts grouped by the address book
@@ -1139,6 +1147,8 @@ public final class ContactsContract {
         * }
         * </pre>
         * </p>
         *
         * @hide
         */
        public static final String EXTRA_ADDRESS_BOOK_INDEX =
                "android.provider.extra.ADDRESS_BOOK_INDEX";
@@ -1147,6 +1157,8 @@ public final class ContactsContract {
         * The array of address book index titles, which are returned in the
         * same order as the data in the cursor.
         * <p>TYPE: String[]</p>
         *
         * @hide
         */
        public static final String EXTRA_ADDRESS_BOOK_INDEX_TITLES =
                "android.provider.extra.ADDRESS_BOOK_INDEX_TITLES";
@@ -1155,6 +1167,8 @@ public final class ContactsContract {
         * The array of group counts for the corresponding group.  Contains the same number
         * of elements as the EXTRA_ADDRESS_BOOK_INDEX_TITLES array.
         * <p>TYPE: int[]</p>
         *
         * @hide
         */
        public static final String EXTRA_ADDRESS_BOOK_INDEX_COUNTS =
                "android.provider.extra.ADDRESS_BOOK_INDEX_COUNTS";