Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 52c01c22 authored by Flavio Lerda's avatar Flavio Lerda
Browse files

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
parent b419abca
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -4666,6 +4666,13 @@ public final class ContactsContract {
         * @hide
         */
        public static final String CONTENT_TYPE = "vnd.android.cursor.dir/phone_lookup";

       /**
        * Boolean parameter that is used to look up a SIP address.
        *
        * @hide
        */
        public static final String QUERY_PARAMETER_SIP_ADDRESS = "sip";
    }

    /**