Skip to content

Commit 63c115c

Browse files
Daniel LehmannAndroid (Google) Code Review
authored andcommitted
Merge "Expose NORMALIZED_NUMBER in the API"
2 parents 12578bd + db91915 commit 63c115c

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

api/current.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16688,6 +16688,7 @@ package android.provider {
1668816688
field public static final java.lang.String CONTENT_ITEM_TYPE = "vnd.android.cursor.item/phone_v2";
1668916689
field public static final java.lang.String CONTENT_TYPE = "vnd.android.cursor.dir/phone_v2";
1669016690
field public static final android.net.Uri CONTENT_URI;
16691+
field public static final java.lang.String NORMALIZED_NUMBER = "data4";
1669116692
field public static final java.lang.String NUMBER = "data1";
1669216693
field public static final int TYPE_ASSISTANT = 19; // 0x13
1669316694
field public static final int TYPE_CALLBACK = 8; // 0x8
@@ -17048,6 +17049,7 @@ package android.provider {
1704817049

1704917050
protected static abstract interface ContactsContract.PhoneLookupColumns {
1705017051
field public static final java.lang.String LABEL = "label";
17052+
field public static final java.lang.String NORMALIZED_NUMBER = "normalized_number";
1705117053
field public static final java.lang.String NUMBER = "number";
1705217054
field public static final java.lang.String TYPE = "type";
1705317055
}

core/java/android/provider/ContactsContract.java

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4531,8 +4531,6 @@ protected interface PhoneLookupColumns {
45314531
/**
45324532
* The phone number's E164 representation.
45334533
* <P>Type: TEXT</P>
4534-
*
4535-
* @hide
45364534
*/
45374535
public static final String NORMALIZED_NUMBER = "normalized_number";
45384536
}
@@ -5408,10 +5406,10 @@ private Phone() {}
54085406
public static final String NUMBER = DATA;
54095407

54105408
/**
5411-
* The phone number's E164 representation.
5409+
* The phone number's E164 representation. This value can be omitted in which
5410+
* case the provider will try to automatically infer it. If present, {@link #NUMBER}
5411+
* has to be set as well (it will be ignored otherwise).
54125412
* <P>Type: TEXT</P>
5413-
*
5414-
* @hide
54155413
*/
54165414
public static final String NORMALIZED_NUMBER = DATA4;
54175415

0 commit comments

Comments
 (0)