diff options
author | cretin45 <cretin45@gmail.com> | 2014-12-02 16:49:35 -0800 |
---|---|---|
committer | Gerrit Code Review <gerrit@cyanogenmod.org> | 2015-10-26 09:49:30 -0700 |
commit | da9e05479488dad1efa9b90ae764647fd78ac432 (patch) | |
tree | ca9a604c493a1aa5efd4337b9c7615114b9588d3 /core | |
parent | 296b5eb1f0183fc95f243ee99cf34a152696313c (diff) | |
download | frameworks_base-da9e05479488dad1efa9b90ae764647fd78ac432.zip frameworks_base-da9e05479488dad1efa9b90ae764647fd78ac432.tar.gz frameworks_base-da9e05479488dad1efa9b90ae764647fd78ac432.tar.bz2 |
ContactsProvider: Make ContactCounts public like cm11
* Needed for Mms recipients list
Change-Id: I50010dc9d9759ecd04676df192ca2639e62d295b
Diffstat (limited to 'core')
-rw-r--r-- | core/java/android/provider/ContactsContract.java | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/core/java/android/provider/ContactsContract.java b/core/java/android/provider/ContactsContract.java index 17c814c..5e034ab 100644 --- a/core/java/android/provider/ContactsContract.java +++ b/core/java/android/provider/ContactsContract.java @@ -1119,7 +1119,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 @@ -1147,6 +1155,8 @@ public final class ContactsContract { * } * </pre> * </p> + * + * @hide */ public static final String EXTRA_ADDRESS_BOOK_INDEX = "android.provider.extra.ADDRESS_BOOK_INDEX"; @@ -1155,6 +1165,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"; @@ -1163,6 +1175,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"; |