summaryrefslogtreecommitdiff
path: root/core/java/android/provider/Contacts.java
Commit message (Collapse)AuthorAgeFilesLines
* Fix some issues found by new doclava linter.Jeff Sharkey2017-04-251-0/+3
| | | | | | | | | Add missing API annotations for permissions and SdkConstants, and invoke doclava with new "-android" flag. Test: make -j32 offline-sdk-docs Bug: 37526420 Change-Id: I970bb2655eb568fd25004636f134c794663a6c33
* Don't expose raw usage stats to clients; return "low-res" values.Makoto Onuki2016-10-101-12/+2
| | | | | | | | | | | Test: run-all-tests.sh Test: cts-tradefed run cts-dev --skip-device-info --skip-preconditions --skip-system-status-check \ com.android.compatibility.common.tradefed.targetprep.NetworkConnectivityChecker -a armeabi-v7a \ -m CtsProviderTestCases Bug 31753890 Change-Id: Ie71af1ab31d74fed69342f91304d3718e3ccd133
* Add missing @Deprecated annotations.Aurimas Liutikas2016-05-241-0/+2
| | | | | | | Add missing @Deprecated annotations for methods with @deprecated tag in javadoc. Change-Id: I35b78ccb97832d86b914c21a300444ba29e33844
* Ubundle from contacts contract Part 1/3Brian Attwell2015-01-091-24/+25
| | | | | | | | | | | 1. Remove Intents.UI 2. Expose Authority 3. Expose ProviderStatus Discussion: go/contacts-contact-intent-ui Bug: 18777272 Change-Id: I9c6125cc30710e4637b38f3785608abb9928d1a2
* API changes per API review for contactsYorke Lee2014-06-041-5/+5
| | | | | | | | | | | | | * Improve documentation for REMOVE_DUPLICATE_ENTRIES * Hide android.provider.ContactsContract.PinnedPositions, it will be reworked and improved for L. * Hide android.provider.ContactsContract.Preferences - we will rework the various apps that are relying on this to use their own preferences instead * Remove inheritance of hidden interfaces in android.provider.Contacts Bug: 15430304 Change-Id: I0f96e8a506083df21023f9b95655f0ce5244bdce
* Remove unused imports from frameworks/base.John Spurlock2013-11-201-1/+0
| | | | Change-Id: Ia1f99bd2c1105b0b0f70aa614f1f4a67b2840906
* Fix obvious typos under frameworks/base/coreKen Wakasa2012-03-091-1/+1
| | | | Change-Id: Ia5fc3db1bb51824e7523885553be926bcc42d736
* Remove the IM provider contract class.Jeff Hamilton2009-12-171-10/+56
| | | | Change-Id: Ia644689021aca3e429d42727dfd6262b6986dfd2
* Update from API review.Dianne Hackborn2009-09-301-0/+5
| | | | Change-Id: I16b1c566f91167aac9615ac59dd297a154c828ea
* Make the new ContactsContract APIs public.Jeff Hamilton2009-09-241-13/+345
| | | | | | | Also, squelch warnings that were caused by the deprecation of the old Contacts APIs. Change-Id: I91d2804de4b653003cd5504ff0f770c01a6332ef
* Don't crash if the cursor is null.Jeff Hamilton2009-09-171-1/+1
| | | | Change-Id: Ibbacc97f781c1485599a5e11217527930d97fe2d
* Fix NPE when provider returns null cursor.Jeff Sharkey2009-09-151-1/+1
| | | | Fixes http://b/2051283
* Don't reference hidden API from comments.Jeff Sharkey2009-08-251-8/+0
|
* Mark all legacy contacts APIs as deprecated.Jeff Sharkey2009-08-251-2/+269
| | | | | | | | Now that we've merged ContactsContract and are relying on compatibility mode, we're marking the previous public contacts API as deprecated. Fixes http://b/2076016
* Added an extra for sharing a target rectangle extra.Jeff Sharkey2009-08-011-0/+9
| | | | | Used to pass a location using screen coordinates when starting a SHOW_OR_CREATE_CONTACT activity.
* Copies the Contacts.Intents class to ContactsContract.Evan Millar2009-06-191-78/+84
| | | | | | | | | ContactsContract now contains all the useful constants that are contained in Contacts.Intents. Because we have to continue to support the Contacts interface, the constants are kept there, but now simply reference the real versions in Contacts.Intents. Contacts.Intents will be deprecated and developers are encouraged to move to Contacts.Intents.
* resolved conflicts w/ 842a1f4b0beaacfaab940318fe19909e087aae81 merge....Daisuke Miyakawa2009-05-191-0/+11
|
* am 15e74b9d: Merge change 1939 into donutAndroid (Google) Code Review2009-05-191-9/+15
|\ | | | | | | | | | | | | | | | | | | Merge commit '15e74b9da8b4cda11ee54da1e77a02d1a86c944a' * commit '15e74b9da8b4cda11ee54da1e77a02d1a86c944a': Temporarily suppress flaky test LocationManagerProximityTest until test harness support can be rolled out. Fix build breakage Revise the ImageButton class description to include information Record statistics about whether HTTP connections are reused.
| * Fix build breakageDaisuke Miyakawa2009-05-191-9/+15
| |
| * Hand merge from cupcake_dcm to donut, part 2.Daisuke Miyakawa2009-05-191-1/+18
| | | | | | | | Modify Contacts-related java files and update vCard importer code to the latest.
| * AI 145778: Manual merge changes 145382-145384 from cupcake.Andy Stadler2009-04-101-1/+3
| | | | | | | | Automated import of CL 145778
| * AI 143159: am: CL 142855 Fix SHOW_OR_CREATE intent to correctly handle ↵Jeffrey Sharkey2009-03-271-0/+12
| | | | | | | | | | | | | | | | | | | | | | duplicate E-mail or IM entries for a person. Added a new WITH_EMAIL_OR_IM_FILTER_URI to find people with a given string as either an E-mail or IM address. This cleans up the original code, and lets us handle duplicates when there are multiple ContactMethod matches for a single person. (We don't get GROUP BY through the ContentProvider interface.) In ContactsListActivity we don't show possibly-incorrect labels when in MODE_QUERY_PICK_TO_VIEW, as any labels and values would be identical. (The people appearing in that list are there because their ContactMethod matches the query.) Original author: jsharkey Merged from: //branches/cupcake/... Automated import of CL 143159
* | change the sync framework and users to understand AccountFred Quintana2009-04-231-1/+16
| |
* | Merge branch 'readonly-p4-master'Dianne Hackborn2009-04-131-1/+3
|\ \
| * | AI 145994: Integrate #145778 from Donut.Dianne Hackborn2009-04-131-1/+3
| | | | | | | | | | | | Automated import of CL 145994
| * | AI 143308: am: CL 143159 am: CL 142855 Fix SHOW_OR_CREATE intent to ↵Jeffrey Sharkey2009-03-271-0/+12
| |/ | | | | | | | | | | | | | | | | | | | | | | | | correctly handle duplicate E-mail or IM entries for a person. Added a new WITH_EMAIL_OR_IM_FILTER_URI to find people with a given string as either an E-mail or IM address. This cleans up the original code, and lets us handle duplicates when there are multiple ContactMethod matches for a single person. (We don't get GROUP BY through the ContentProvider interface.) In ContactsListActivity we don't show possibly-incorrect labels when in MODE_QUERY_PICK_TO_VIEW, as any labels and values would be identical. (The people appearing in that list are there because their ContactMethod matches the query.) Original author: jsharkey Merged from: //branches/cupcake/... Original author: android-build Merged from: //branches/donutburger/... Automated import of CL 143308
* | Merge commit 'korg/cupcake'The Android Open Source Project2009-03-271-4/+27
|\ \ | | | | | | | | | | | | | | | | | | Conflicts: core/java/android/webkit/WebView.java core/java/android/widget/TwoLineListItem.java preloaded-classes
| * | Automated import from //branches/cupcake/...@142855,142855Jeffrey Sharkey2009-03-251-0/+12
| |/
| * auto import from //branches/cupcake_rel/...@140373The Android Open Source Project2009-03-181-4/+15
| |
* | Merge commit 'remotes/korg/cupcake' into mergeJean-Baptiste Queru2009-03-181-13/+62
|\| | | | | | | | | | | | | | | | | | | Conflicts: core/java/android/view/animation/TranslateAnimation.java core/jni/Android.mk core/res/res/values-en-rGB/strings.xml libs/audioflinger/AudioFlinger.cpp libs/surfaceflinger/LayerScreenshot.cpp packages/SettingsProvider/src/com/android/providers/settings/SettingsProvider.java
| * auto import from //branches/cupcake_rel/...@138607The Android Open Source Project2009-03-131-2/+10
| |
| * auto import from //branches/cupcake/...@137873The Android Open Source Project2009-03-111-1/+36
| |
| * auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-0/+1678
| |
| * auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-1678/+0
| |
| * auto import from //branches/cupcake/...@130745The Android Open Source Project2009-02-101-10/+16
| |
* | auto import from //branches/cupcake/...@125939The Android Open Source Project2009-01-091-8/+22
|\|
| * auto import from //branches/cupcake/...@125939The Android Open Source Project2009-01-091-8/+22
| |
* | Merge commit 'remotes/korg/cupcake'Jean-Baptiste Queru2008-12-191-2/+54
|\| | | | | | | | | | | | | | | Conflicts: core/java/com/android/internal/app/AlertController.java core/res/res/values/strings.xml media/java/android/media/AudioSystem.java services/java/com/android/server/LocationManagerService.java
| * Code drop from //branches/cupcake/...@124589The Android Open Source Project2008-12-171-3/+55
| |
* | Fix issue 1164: Incorrect organization type label in contactsEvan JIANG2008-11-021-2/+2
|/ | | | | | http://code.google.com/p/android/issues/detail?id=1164 The organization definition in string-array resource is different from android.provider.Contacts.OrganizationColumns
* Initial ContributionThe Android Open Source Project2008-10-211-0/+1606