History log of /packages/providers/ContactsProvider/src/com/android/providers/contacts/LegacyApiSupport.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
f9b77edaf5855bf6932fbc4b4b4342273669efef 09-Sep-2011 Dave Santoro <dsantoro@google.com> Add data_set for Settings.

Since data_set may be null, it can't be part of the primary key
for the table, so we need to re-create the table and add
provider-side protection from inserting duplicate settings
records.

Bug 5156004

Change-Id: I25ae53c5670087a116058f0daef5b06cb6ce372b
/packages/providers/ContactsProvider/src/com/android/providers/contacts/LegacyApiSupport.java
ed6bfd922fd84db21de08c1d12e93c501b86560d 11-Jul-2011 Daniel Lehmann <lehmannd@google.com> Remove restricted white-listing

Bug:4974334
Change-Id: I4dd95089774373d2b67d7e14dc6b7fc40a92d094
/packages/providers/ContactsProvider/src/com/android/providers/contacts/LegacyApiSupport.java
155accbcb95fc13b984cf0ea8e5498a9c619cbf5 12-Feb-2011 Dmitri Plotnikov <dplotnikov@google.com> Full text search: email suggestions

Also, removing a bunch of dead code

Bug: 2078420
Change-Id: I2c0a9ddd8e60624049b39ac018f87bfabc6574c2
/packages/providers/ContactsProvider/src/com/android/providers/contacts/LegacyApiSupport.java
174f7d319b987aa2aeeb6f2563f4b939acb8d791 11-Feb-2011 Dmitri Plotnikov <dplotnikov@google.com> Full text search: QSB support

Bug: 2078420
Change-Id: I767ccecc856c0ae9ad74aafb3dac0de39b657e3c
/packages/providers/ContactsProvider/src/com/android/providers/contacts/LegacyApiSupport.java
42c817741879588db9014739f4dc194621e97381 06-Jan-2011 Dmitri Plotnikov <dplotnikov@google.com> Using a sqlite3 extension function to restore CTS compatibility

Bug: 3210604
Change-Id: Ic9f67944afdfbf1e68246e29c2b349dda84a015b
/packages/providers/ContactsProvider/src/com/android/providers/contacts/LegacyApiSupport.java
49d48c0a709c1efa8593acadadd31350bfc75d9a 01-Dec-2010 Dmitri Plotnikov <dplotnikov@google.com> Ensuring that cached db connection is only used in transactions

The mDb field should not be used outside transactions,
because the database may have been closed between transactions.

Also, fixing a race condition described in

Bug: 3106464

Change-Id: I002a107f3b8aafa1a58dfdab2980978b00fc5ec1
/packages/providers/ContactsProvider/src/com/android/providers/contacts/LegacyApiSupport.java
f6c1658fa38b4a94ceab295767938388ec735240 05-Mar-2010 Dmitri Plotnikov <dplotnikov@google.com> Properly updating TIMES_CONTACTED when invoked via legacy Contacts API

Bug: 2483809
Change-Id: I03511e710d48a02f35eba2cf54b0d0909ea1a9e2
/packages/providers/ContactsProvider/src/com/android/providers/contacts/LegacyApiSupport.java
fa4a38c9d54f3e3aad4674867bb1250f450c0b95 04-Mar-2010 Dmitri Plotnikov <dplotnikov@google.com> Making exceptions more verbose in ContactsProvider2

Change-Id: I32f7d5d4a4bbd8468ac174d5c0cb4f6521806272
/packages/providers/ContactsProvider/src/com/android/providers/contacts/LegacyApiSupport.java
2d2ec88b7af615b2f05e987da45425be9cace1ba 23-Dec-2009 Tom O'Neill <tomo@google.com> Contacts provider uses LOOKUP_KEY for search result IDs

The lookup key is more stable against merges, etc. than the contact ID,
so we are switching to that for the ID values used in search results.

Bug: 2294798
Change-Id: I09e03212828ec473b69968eb00d490785e15edbe
/packages/providers/ContactsProvider/src/com/android/providers/contacts/LegacyApiSupport.java
6e38acbd1e72c62a6f8917297aed97e35c0c4697 11-Dec-2009 Vasu Nori <vnori@google.com> Update times_contacted manually since triggers to do that are gone.

This is fallout from CL # 35440. this change seems to effect only the unittests
/packages/providers/ContactsProvider/src/com/android/providers/contacts/LegacyApiSupport.java
fada1f08e7ffc8012bf2175f61f3ef3270eba9ec 02-Dec-2009 Dmitri Plotnikov <dplotnikov@google.com> Adding a new column to Contacts: NAME_RAW_CONTACT_ID

This is in preparation for fixing bugs:
http://b/2075641
http://b/2021660
http://b/2164422
http://b/2267198
and merge with eclair-china CLs having to do with sorting using pinyin names.

Change-Id: Ifa5b442e9230a8f4fe07334c394a775f18c09218
/packages/providers/ContactsProvider/src/com/android/providers/contacts/LegacyApiSupport.java
1c8e40c18f92722b9bec6e8ce2e345a9828efa16 06-Nov-2009 Dmitri Plotnikov <dplotnikov@google.com> Fixing legacy contacts API breakage uncovered by CTS tests

Bug: http://b/2236480
Change-Id: I653a0c0c012f7f125e75e5436cdf66e31402444c
/packages/providers/ContactsProvider/src/com/android/providers/contacts/LegacyApiSupport.java
d810b894f0a677d7f6db0dfd9e2d7e4c9987e21c 05-Nov-2009 Dmitri Plotnikov <dplotnikov@google.com> Fixing breakage in Legacy Contacts API support uncovered in CTS tests.

Bug: http://b/2136124

Change-Id: I4196ebaaa27899b5a0239f2d773d9a0dc3d832a2
/packages/providers/ContactsProvider/src/com/android/providers/contacts/LegacyApiSupport.java
e0f854c10f7a3aeebc9a7be9fb2bb101d70c01e4 30-Oct-2009 Dmitri Plotnikov <dplotnikov@google.com> Allowing on-the-phone only contacts to be seen through legacy compatibility APIs.

Bug http://b/2226458

Change-Id: Ib02f4e31b5127bcb5943f0d115c61973167b3e9a
/packages/providers/ContactsProvider/src/com/android/providers/contacts/LegacyApiSupport.java
47ab23770b9f010a5e5277cda68267fe0613a1cc 13-Oct-2009 Dmitri Plotnikov <dplotnikov@google.com> [Issue 2185274] Optimizing queries used by Google Voice

Change-Id: If9a8aee57f3d344f98ddc1462c34113b2194241f
/packages/providers/ContactsProvider/src/com/android/providers/contacts/LegacyApiSupport.java
3b2770e909f82c90218aee49d6f9f107aa4b7feb 30-Sep-2009 Dmitri Plotnikov <dplotnikov@google.com> [Issue 2084032] Adding support for non-public legacy contacts uri "groups/system_id/*/members"

Change-Id: I20a3dc40c24200fb39d01c71ea52bc7ab844c9a2
/packages/providers/ContactsProvider/src/com/android/providers/contacts/LegacyApiSupport.java
e06751fce696a31fcba173821dbe78b08bae20be 30-Sep-2009 Dmitri Plotnikov <dplotnikov@google.com> [Issue 2084032] Adding support for legacy contacts uris "people/#/organizations" and "people/#/organizations/#"

Change-Id: I4336d5099492eeee27d128f92d93299c0da7cdd0
/packages/providers/ContactsProvider/src/com/android/providers/contacts/LegacyApiSupport.java
b38ed2c5ffeb20efc677b4a9229db4a00603aa8d 29-Sep-2009 Dmitri Plotnikov <dplotnikov@google.com> Renaming OpenHelper to ContactsDatabaseHelper

Change-Id: Iccdf1ebcd8a3ab430941c957f712bb9e7dd2706c
/packages/providers/ContactsProvider/src/com/android/providers/contacts/LegacyApiSupport.java
0a185cdcb65d1beb2a295fffbe2ae11a6a2c097f 28-Sep-2009 Dmitri Plotnikov <dplotnikov@google.com> Adding support to ContactsProvider2 for status update attribution

Change-Id: Ib98a5fc203a9ce5efb4707b9ce015bd497b8ef10
/packages/providers/ContactsProvider/src/com/android/providers/contacts/LegacyApiSupport.java
ba965ceeb86dd9404d43f418daae357bc4afbdcd 29-Sep-2009 Jeff Hamilton <jham@android.com> Fix handling of times_contacted.

Change-Id: I1fc10736cf4848acdba657fdefabf00a711fd56b
/packages/providers/ContactsProvider/src/com/android/providers/contacts/LegacyApiSupport.java
0cc388933e698760d4985a7d7be1325f9c8305e9 28-Sep-2009 Dmitri Plotnikov <dplotnikov@google.com> Fixing legacy contacts API support after the latest change in the status update APIs.

Change-Id: I0d9bb5bdc3217cfdd70131cd7aa361f5db9ad1a5
/packages/providers/ContactsProvider/src/com/android/providers/contacts/LegacyApiSupport.java
82bd858c9911dfbd8dca52dc276333768b0a429e 28-Sep-2009 Dmitri Plotnikov <dplotnikov@google.com> Adding columns to support attribution of status updates. Also renaming some columns to better describe their purpose.

Change-Id: I2018079e540dedb2be1b61671742bbe99e92619c
/packages/providers/ContactsProvider/src/com/android/providers/contacts/LegacyApiSupport.java
d4b57da3f07bc530db69015d363c61a768a4713a 26-Sep-2009 Dmitri Plotnikov <dplotnikov@google.com> [Issue 2148075] Legacy contacts API: Adding missing columns to the groupmembership projection map

Change-Id: I08c7f9d0ac67c237d5d59ecad066cc1922786ecb
/packages/providers/ContactsProvider/src/com/android/providers/contacts/LegacyApiSupport.java
71e051c79a57af70ec7b095074c3e7faf9507b52 26-Sep-2009 Dmitri Plotnikov <dplotnikov@google.com> [Issue 2148072] Adding support for non-public legacy API content://contacts/groups/name/*/members

Change-Id: Ia5128b55bb393fde186e95da086c32508374c035
/packages/providers/ContactsProvider/src/com/android/providers/contacts/LegacyApiSupport.java
a23cd5b6f478f6c9dda54173e84bd0098b9f3364 24-Sep-2009 Dmitri Plotnikov <dplotnikov@google.com> Storing social status updates in a persistent table.

Change-Id: Ic6be86385a4e456ae164499aeec40900294fb118
/packages/providers/ContactsProvider/src/com/android/providers/contacts/LegacyApiSupport.java
f23764675b35b5262a39c79aad8e9842460274b2 21-Sep-2009 Dmitri Plotnikov <dplotnikov@google.com> No longer relying on the components of structured name for aggregation.

Now parsing display name into tokens and allowing permutations of those.

Bug IDs: 2132657, 2132636, 2089893

Change-Id: Idea256bbec3b82fb229199c6bd6e9d7b145ab075
/packages/providers/ContactsProvider/src/com/android/providers/contacts/LegacyApiSupport.java
044685c79fb8fb6e15479d0e68d60f8630f6be43 18-Sep-2009 Dmitri Plotnikov <dplotnikov@google.com> [Issue 2084032] Adding support for remaining legacy contacts API update and delete calls.

Change-Id: I9fe1d40683e7df7da93c2df80cd7d1d61c53c059
/packages/providers/ContactsProvider/src/com/android/providers/contacts/LegacyApiSupport.java
ee56e80dcab0ca58f81dc5318db8d0c453d75903 18-Sep-2009 Dmitri Plotnikov <dplotnikov@google.com> [Issue 2123926] Adding support for some non-public legacy contact APIs

Change-Id: Ia9644088561939b39fc20343a522fc0a1be53df4
/packages/providers/ContactsProvider/src/com/android/providers/contacts/LegacyApiSupport.java
bce6ee29f2d971ceae2bfce85a06bb3ecec6537a 14-Sep-2009 Dmitri Plotnikov <dplotnikov@google.com> [Issue 2084032] Adding support for legacy URI: contacts/contact_methods/email

Change-Id: I9c2c62952b7d24d4e87db8b2c7037f49674276aa
/packages/providers/ContactsProvider/src/com/android/providers/contacts/LegacyApiSupport.java
67b73a3e6bc186aa83915275bde6eeeeea5e97cf 12-Sep-2009 Dmitri Plotnikov <dplotnikov@google.com> [Issue 2083923] Preventing contacts from crashing Google Voice

Change-Id: I50eb16bbc3fac20b402a45e31d9530740fdbaf58
/packages/providers/ContactsProvider/src/com/android/providers/contacts/LegacyApiSupport.java
b61f0d658092919aa2bb201787cf3fcbe1d3d048 05-Sep-2009 Jeff Hamilton <jham@android.com> Fix a race condition that could break legacy APIs.

The delegate was only being registered in the
contacts provider, but the social provider also
uses the open helper and could sometimes be
the first provider to be created, causing the
legacy API support delete to not be registered
when the database was created.

Bug: 2102666
Change-Id: I95cd187fc2fd2f4a1a3e1fde7e8926518342f558
/packages/providers/ContactsProvider/src/com/android/providers/contacts/LegacyApiSupport.java
622e0a2f00b3de248926ec9e89b11a6425919819 02-Sep-2009 Jeff Sharkey <jsharkey@android.com> Relaxed type and label checking, structured consistency.

For CommonDataKinds rows, we strictly require that TYPE be
set when LABEL appears. Previously we had enforced that
LABEL could only exist under TYPE_CUSTOM, but this doesn't
hold true for providers that want to allow additional TYPE
values to have labels. This fixes http://b/2089080 and
http://b/2065904

This change also helps maintain consistency between
structured and unstructured fields for StructuredPostal and
StructuredName. That is, when an update updates one without
also updating the other, we provide the additional values
required to keep them consistent. If the client specifies
both sets, we let them pass through. Fixes http://b/2087358

Also adds unit tests, including fixing broken ones.
/packages/providers/ContactsProvider/src/com/android/providers/contacts/LegacyApiSupport.java
1b7a7947242bb3b8caaed871775e62d486144c9f 31-Aug-2009 Dmitri Plotnikov <dplotnikov@google.com> Implementing live folders in ContactsProvider2
/packages/providers/ContactsProvider/src/com/android/providers/contacts/LegacyApiSupport.java
94743330ca80ad334340bef51b2a093242721bb0 28-Aug-2009 Jeff Hamilton <jham@android.com> Add legacy API support for inserting into URIs like content://contacts/people/1/phones.

Bug: 2083923
Change-Id: I948ff3f8a87a7594aa890b6c7cf45c11f862008d
/packages/providers/ContactsProvider/src/com/android/providers/contacts/LegacyApiSupport.java
3fe48cf2c81f6e89b78e919661e2b0b828a2144e 27-Aug-2009 Dmitri Plotnikov <dplotnikov@google.com> Fixing the notification URI for legacy API
/packages/providers/ContactsProvider/src/com/android/providers/contacts/LegacyApiSupport.java
5dec8cf5a992bac38c0e81d744fc77d748e926aa 26-Aug-2009 Dmitri Plotnikov <dplotnikov@google.com> [Issue 2070421] Providing legacy table names as aliases, so you can use people._id in queries.
/packages/providers/ContactsProvider/src/com/android/providers/contacts/LegacyApiSupport.java
61efab87c2c8166b3cd69ed1a908d1c0d7271d0b 25-Aug-2009 Dmitri Plotnikov <dplotnikov@google.com> [Issue 2074490] Adding legacy support for getType
/packages/providers/ContactsProvider/src/com/android/providers/contacts/LegacyApiSupport.java
b3f909fee75cb384fc381ec5ce70dd001669f945 24-Aug-2009 Dmitri Plotnikov <dplotnikov@google.com> Support for Global Search Shortcut refresh and contact images.
/packages/providers/ContactsProvider/src/com/android/providers/contacts/LegacyApiSupport.java
97f9a162b7632481988bf8639b83f37dcb42b586 22-Aug-2009 Dmitri Plotnikov <dplotnikov@google.com> Syntax: just moved a constants out of method bodies.

@jham: I understood the meaning of your comment in the previous CL
only after I submitted it.
/packages/providers/ContactsProvider/src/com/android/providers/contacts/LegacyApiSupport.java
0126458fabecb6514bf6d368ae6a066a78856a91 22-Aug-2009 Dmitri Plotnikov <dplotnikov@google.com> Legacy compatibility for Im and Presence.

We will not support inserting Presence, but we need to continue joining with it.
/packages/providers/ContactsProvider/src/com/android/providers/contacts/LegacyApiSupport.java
28153f2e3dda944e983f6dd0ab80aca63631ddfa 21-Aug-2009 Jeff Hamilton <jham@android.com> Accounts aren't allow to have empty names.
/packages/providers/ContactsProvider/src/com/android/providers/contacts/LegacyApiSupport.java
6f7446a25ecb55ee213eaa7702837cdf32e68777 20-Aug-2009 Dmitri Plotnikov <dplotnikov@google.com> Contacts: "non-existent account type".

Providing a "non-existent account type" instead of
an exception when there is no default account on the phone.
/packages/providers/ContactsProvider/src/com/android/providers/contacts/LegacyApiSupport.java
e3eb7ef438010c893c429f3031dcc7298171865d 19-Aug-2009 Dmitri Plotnikov <dplotnikov@google.com> Completing implementation of phone lookup API.
/packages/providers/ContactsProvider/src/com/android/providers/contacts/LegacyApiSupport.java
fb362d1a5df250a49fad06db323b0d41fe0e3757 18-Aug-2009 Dmitri Plotnikov <dplotnikov@google.com> Fixing legacy API support for phone lookup.
/packages/providers/ContactsProvider/src/com/android/providers/contacts/LegacyApiSupport.java
9155470a5d8e7834ca742f66ede487e4f6e391ea 18-Aug-2009 Dmitri Plotnikov <dplotnikov@google.com> Providing projection mappings for _id fields in Contacts legacy support.
/packages/providers/ContactsProvider/src/com/android/providers/contacts/LegacyApiSupport.java
df9fd6b239de5829b04cb413e4dfa3e6da649c38 17-Aug-2009 Fred Quintana <fredq@google.com> fixup after merge from master
/packages/providers/ContactsProvider/src/com/android/providers/contacts/LegacyApiSupport.java
caa1cf4ef062f163ac5e370cebc0e47b5ae7460e 11-Aug-2009 Dmitri Plotnikov <dplotnikov@google.com> Fixing several issues of legacy support:

1. Security constraints fully enforced.
2. Default account is used for all operations.
/packages/providers/ContactsProvider/src/com/android/providers/contacts/LegacyApiSupport.java
5d0fa81285aea6cc545686a9d32736933b446482 07-Aug-2009 Jeff Sharkey <jsharkey@android.com> Fix presence query to match contract class for legacy API.
/packages/providers/ContactsProvider/src/com/android/providers/contacts/LegacyApiSupport.java
a908fb5f39aa2021662a6cc317cc7e4db2d8bfb0 04-Aug-2009 Dmitri Plotnikov <dplotnikov@google.com> Breaking global search support into a separate class and limiting search results to visible contacts only.
/packages/providers/ContactsProvider/src/com/android/providers/contacts/LegacyApiSupport.java
c70dc0e38ff82c6e6d6b7458637c54fbdf446aac 31-Jul-2009 Dmitri Plotnikov <dplotnikov@google.com> Reimplementing global search integration in ContactsProvider2.

Also fixing bugs in the area of logical deletion of raw contacts and their exclusion from further aggregation.
/packages/providers/ContactsProvider/src/com/android/providers/contacts/LegacyApiSupport.java
d3fde755e73cd3912a488e7cb7d412d3c5f6ca94 28-Jul-2009 Dmitri Plotnikov <dplotnikov@google.com> ContactsProvider2: Renaming Aggregates to Contacts
/packages/providers/ContactsProvider/src/com/android/providers/contacts/LegacyApiSupport.java
5ef0401c311c62e53bde415b99cbb0ff83b0a9a2 28-Jul-2009 Dmitri Plotnikov <dplotnikov@google.com> ContactsProvider2: Renaming CONTACT_ID to RAW_CONTACT_ID
/packages/providers/ContactsProvider/src/com/android/providers/contacts/LegacyApiSupport.java
33b41fdb8d7c3c654cb070799c9d6e2b4ab16078 27-Jul-2009 Dmitri Plotnikov <dplotnikov@google.com> Implementing Raw Contact deletion.
/packages/providers/ContactsProvider/src/com/android/providers/contacts/LegacyApiSupport.java
6cffee46a1334d2b3ed19f436b27638451541044 27-Jul-2009 Dmitri Plotnikov <dplotnikov@google.com> Changing Contacts to RawContacts.

The renaming will be done in baby steps and in the
order of priorities.

Step 1: Contacts->RawContacts and deprecate Contacts
Step 2: Once all is converted, remove Contacts
Step 3: Aggregates->Contacts, including comments in the API
Step 4: Tables and fields
Step 5: Comments in the implementation code

Intermediate steps will be pretty ugly, but the result will be glamorous. I hope you are all still ok with "RawContacts"
/packages/providers/ContactsProvider/src/com/android/providers/contacts/LegacyApiSupport.java
445ca81effbb0d61c7bc0033acf2d3dfd228fd4e 25-Jul-2009 Dmitri Plotnikov <dplotnikov@google.com> Implementing compatibility mode for contact filtering
/packages/providers/ContactsProvider/src/com/android/providers/contacts/LegacyApiSupport.java
70b5ee6864cb3368d24a9e876fb93008997b12df 25-Jul-2009 Dmitri Plotnikov <dplotnikov@google.com> Compatibility support for Presence
/packages/providers/ContactsProvider/src/com/android/providers/contacts/LegacyApiSupport.java
c6ad6f6c5690a28bacb9fa0f4357ea8c8a91e3ba 25-Jul-2009 Dmitri Plotnikov <dplotnikov@google.com> Adding compatibility support for contact photos.
/packages/providers/ContactsProvider/src/com/android/providers/contacts/LegacyApiSupport.java
d51a83ac4f8032b62d9a23b90a8f43d6b7eb2dbb 23-Jul-2009 Dmitri Plotnikov <dplotnikov@google.com> Adding SQL VIEWs to support backwards compatible WHERE clauses.
/packages/providers/ContactsProvider/src/com/android/providers/contacts/LegacyApiSupport.java
0f8f3b3e4a6ad18c5868d0215cc137845a2ddc74 23-Jul-2009 Dmitri Plotnikov <dplotnikov@google.com> Adding compatibility support for Contact Extensions and groups.
/packages/providers/ContactsProvider/src/com/android/providers/contacts/LegacyApiSupport.java
67dde51ab932dc84d95a203b113989b13437f13d 21-Jul-2009 Jeff Sharkey <jsharkey@android.com> Hard-coded IS_RESTRICTED exceptions, move to RES_PACKAGE.

The current RestrictionException API wasn't final enough to
reveal in the next platform release, and is only being used
by a single party. In addition, the original approach
required the sync adapter to assert any granted exceptions
during each update pass. There was also additional overhead
of watching for PACKAGE_ADDED and PACKAGE_REMOVED broadcasts
for clearing any applicable exceptions.

Finally, since this is a critical security element, we
really wanted to avoid storing the exceptions in another
SQL table that may be altered through an unknown SQL
attack vector. For now, the packages granted IS_RESTRICTED
access should be manually entered in sAllowedPackages.

This change also cleans up some projection mappings, and
minor fixed to prepare for a pending framework change.
/packages/providers/ContactsProvider/src/com/android/providers/contacts/LegacyApiSupport.java
e80e514a6175ad2ee03ea6eff6201e0e47d5a710 21-Jul-2009 Dmitri Plotnikov <dplotnikov@google.com> Adding compatibility support for ContactMethods and phone numbers.
/packages/providers/ContactsProvider/src/com/android/providers/contacts/LegacyApiSupport.java
3cebbf7141252768d3e272e049e9c5b0cb9d710e 17-Jul-2009 Dmitri Plotnikov <dplotnikov@google.com> Work in progress: introducing DataRowHandlers in ContactsProvider2.

1. Introducing DataRowHandlers
2. Adding DISPLAY_NAME to Contact for maintaining
a backwards compatible behavior
3. Implementing compatible DISPLAY_NAME behavior
4. Fixing handling of null display name
5. Implementing primary Organization
6. Implementing compatibility mode for Organization
7. Adding "delete" to compatibility support
/packages/providers/ContactsProvider/src/com/android/providers/contacts/LegacyApiSupport.java
f4e1358f1c8f5fe5e9e7689e36e04c57c2385169 15-Jul-2009 Dmitri Plotnikov <dplotnikov@google.com> Removing ContactOptions table.

1. Moving ContactOptions fields to Contacts.
2. Introducing AGGREGATION_MODE
3. Introducing Legacy API support
4. Implementing "last time contacted" update - for now just legacy requests.
/packages/providers/ContactsProvider/src/com/android/providers/contacts/LegacyApiSupport.java