diff options
| author | 2012-03-09 14:30:50 -0800 | |
|---|---|---|
| committer | 2012-03-09 14:30:50 -0800 | |
| commit | db919155a87b4adf44874b817838458e04d9d17c (patch) | |
| tree | c4f1a6c759ae470f2228e9459c69af1bee1227c1 | |
| parent | e70583e629e15ff77b6c12d5db39b4f62b6103ab (diff) | |
Expose NORMALIZED_NUMBER in the API
Bug:6126736
Change-Id: If9dc84150c58d3968de9c6e4f1e54dab6b611dd7
| -rw-r--r-- | api/current.txt | 2 | ||||
| -rw-r--r-- | core/java/android/provider/ContactsContract.java | 8 | 
2 files changed, 5 insertions, 5 deletions
diff --git a/api/current.txt b/api/current.txt index 8af75dbac285..381e39443b38 100644 --- a/api/current.txt +++ b/api/current.txt @@ -16567,6 +16567,7 @@ package android.provider {      field public static final java.lang.String CONTENT_ITEM_TYPE = "vnd.android.cursor.item/phone_v2";      field public static final java.lang.String CONTENT_TYPE = "vnd.android.cursor.dir/phone_v2";      field public static final android.net.Uri CONTENT_URI; +    field public static final java.lang.String NORMALIZED_NUMBER = "data4";      field public static final java.lang.String NUMBER = "data1";      field public static final int TYPE_ASSISTANT = 19; // 0x13      field public static final int TYPE_CALLBACK = 8; // 0x8 @@ -16927,6 +16928,7 @@ package android.provider {    protected static abstract interface ContactsContract.PhoneLookupColumns {      field public static final java.lang.String LABEL = "label"; +    field public static final java.lang.String NORMALIZED_NUMBER = "normalized_number";      field public static final java.lang.String NUMBER = "number";      field public static final java.lang.String TYPE = "type";    } diff --git a/core/java/android/provider/ContactsContract.java b/core/java/android/provider/ContactsContract.java index d724d5697844..0e9306bf46b5 100644 --- a/core/java/android/provider/ContactsContract.java +++ b/core/java/android/provider/ContactsContract.java @@ -4531,8 +4531,6 @@ public final class ContactsContract {          /**           * The phone number's E164 representation.           * <P>Type: TEXT</P> -         * -         * @hide           */          public static final String NORMALIZED_NUMBER = "normalized_number";      } @@ -5408,10 +5406,10 @@ public final class ContactsContract {              public static final String NUMBER = DATA;              /** -             * The phone number's E164 representation. +             * The phone number's E164 representation. This value can be omitted in which +             * case the provider will try to automatically infer it. If present, {@link #NUMBER} +             * has to be set as well (it will be ignored otherwise).               * <P>Type: TEXT</P> -             * -             * @hide               */              public static final String NORMALIZED_NUMBER = DATA4;  |