Skip to content

Commit 52c01c2

Browse files
committed
Add a query parameter to look-up a SIP address.
Currently there is an API to look-up a phone number in the contacts database but not one to look up a SIP address. This change adds a query parameter that can be added to the existing filter URI to search the contacts with SIP addresses. Bug: 5529690 Change-Id: I71aaf46c7528e7e6eb4160a664f4bdeacfb0581d
1 parent b419abc commit 52c01c2

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

core/java/android/provider/ContactsContract.java

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4666,6 +4666,13 @@ private PhoneLookup() {}
46664666
* @hide
46674667
*/
46684668
public static final String CONTENT_TYPE = "vnd.android.cursor.dir/phone_lookup";
4669+
4670+
/**
4671+
* Boolean parameter that is used to look up a SIP address.
4672+
*
4673+
* @hide
4674+
*/
4675+
public static final String QUERY_PARAMETER_SIP_ADDRESS = "sip";
46694676
}
46704677

46714678
/**

0 commit comments

Comments
 (0)