Merge "Depcrecate increment function (should have been done back in ICS)"

This commit is contained in:
Daniel Lehmann
2012-04-13 13:36:22 -07:00
committed by Android (Google) Code Review
2 changed files with 5 additions and 1 deletions

View File

@@ -16853,7 +16853,7 @@ package android.provider {
method public static android.net.Uri getLookupUri(android.content.ContentResolver, android.net.Uri);
method public static android.net.Uri getLookupUri(long, java.lang.String);
method public static android.net.Uri lookupContact(android.content.ContentResolver, android.net.Uri);
method public static void markAsContacted(android.content.ContentResolver, long);
method public static deprecated void markAsContacted(android.content.ContentResolver, long);
method public static java.io.InputStream openContactPhotoInputStream(android.content.ContentResolver, android.net.Uri, boolean);
method public static java.io.InputStream openContactPhotoInputStream(android.content.ContentResolver, android.net.Uri);
field public static final android.net.Uri CONTENT_FILTER_URI;

View File

@@ -1536,7 +1536,11 @@ public final class ContactsContract {
*
* @param resolver the ContentResolver to use
* @param contactId the person who was contacted
*
* @deprecated The class DataUsageStatUpdater of the Android support library should
* be used instead.
*/
@Deprecated
public static void markAsContacted(ContentResolver resolver, long contactId) {
Uri uri = ContentUris.withAppendedId(CONTENT_URI, contactId);
ContentValues values = new ContentValues();