summaryrefslogtreecommitdiffstats
path: root/core/java/android/provider
diff options
context:
space:
mode:
authorYorke Lee <yorkelee@google.com>2014-07-08 11:48:42 -0700
committerYorke Lee <yorkelee@google.com>2014-07-08 14:31:55 -0700
commit6355c8f7fc3f7bb2f3c469faaeca1b38cbe413e8 (patch)
tree9e21919fe89cbd38d848efe26b5c629efe0f9fb7 /core/java/android/provider
parent4c8d3149aeb921b002c3c0ee40e7d04b3ae092c5 (diff)
downloadframeworks_base-6355c8f7fc3f7bb2f3c469faaeca1b38cbe413e8.zip
frameworks_base-6355c8f7fc3f7bb2f3c469faaeca1b38cbe413e8.tar.gz
frameworks_base-6355c8f7fc3f7bb2f3c469faaeca1b38cbe413e8.tar.bz2
Rehide some fields in ContactsContract
These fields were supposed to be hidden for L. Change-Id: If87642f2574eccd7d80fae6f7b0817f777db9cce
Diffstat (limited to 'core/java/android/provider')
-rw-r--r--core/java/android/provider/ContactsContract.java14
1 files changed, 13 insertions, 1 deletions
diff --git a/core/java/android/provider/ContactsContract.java b/core/java/android/provider/ContactsContract.java
index 2f061f1..9723107 100644
--- a/core/java/android/provider/ContactsContract.java
+++ b/core/java/android/provider/ContactsContract.java
@@ -246,7 +246,7 @@ public final class ContactsContract {
public static final String KEY_AUTHORIZED_URI = "authorized_uri";
}
- /*
+ /**
* @hide
*/
public static final class Preferences {
@@ -254,16 +254,22 @@ public final class ContactsContract {
/**
* A key in the {@link android.provider.Settings android.provider.Settings} provider
* that stores the preferred sorting order for contacts (by given name vs. by family name).
+ *
+ * @hide
*/
public static final String SORT_ORDER = "android.contacts.SORT_ORDER";
/**
* The value for the SORT_ORDER key corresponding to sorting by given name first.
+ *
+ * @hide
*/
public static final int SORT_ORDER_PRIMARY = 1;
/**
* The value for the SORT_ORDER key corresponding to sorting by family name first.
+ *
+ * @hide
*/
public static final int SORT_ORDER_ALTERNATIVE = 2;
@@ -271,16 +277,22 @@ public final class ContactsContract {
* A key in the {@link android.provider.Settings android.provider.Settings} provider
* that stores the preferred display order for contacts (given name first vs. family
* name first).
+ *
+ * @hide
*/
public static final String DISPLAY_ORDER = "android.contacts.DISPLAY_ORDER";
/**
* The value for the DISPLAY_ORDER key corresponding to showing the given name first.
+ *
+ * @hide
*/
public static final int DISPLAY_ORDER_PRIMARY = 1;
/**
* The value for the DISPLAY_ORDER key corresponding to showing the family name first.
+ *
+ * @hide
*/
public static final int DISPLAY_ORDER_ALTERNATIVE = 2;
}