summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorcretin45 <cretin45@gmail.com>2014-12-02 16:49:35 -0800
committerGerrit Code Review <gerrit@cyanogenmod.org>2015-10-26 09:49:30 -0700
commitda9e05479488dad1efa9b90ae764647fd78ac432 (patch)
treeca9a604c493a1aa5efd4337b9c7615114b9588d3 /core
parent296b5eb1f0183fc95f243ee99cf34a152696313c (diff)
downloadframeworks_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.java16
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";