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

Change-Id: I5c7d4d80a5d10b6ed2460f6dac30e53cc2714521
This commit is contained in:
Daniel Lehmann
2012-04-13 13:29:49 -07:00
parent 7358fbfeb2
commit a1620dc521
2 changed files with 5 additions and 1 deletions

View File

@@ -16839,7 +16839,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();