Skip to content

Commit a1620dc

Browse files
author
Daniel Lehmann
committed
Depcrecate increment function (should have been done back in ICS)
Change-Id: I5c7d4d80a5d10b6ed2460f6dac30e53cc2714521
1 parent 7358fbf commit a1620dc

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

api/current.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16839,7 +16839,7 @@ package android.provider {
1683916839
method public static android.net.Uri getLookupUri(android.content.ContentResolver, android.net.Uri);
1684016840
method public static android.net.Uri getLookupUri(long, java.lang.String);
1684116841
method public static android.net.Uri lookupContact(android.content.ContentResolver, android.net.Uri);
16842-
method public static void markAsContacted(android.content.ContentResolver, long);
16842+
method public static deprecated void markAsContacted(android.content.ContentResolver, long);
1684316843
method public static java.io.InputStream openContactPhotoInputStream(android.content.ContentResolver, android.net.Uri, boolean);
1684416844
method public static java.io.InputStream openContactPhotoInputStream(android.content.ContentResolver, android.net.Uri);
1684516845
field public static final android.net.Uri CONTENT_FILTER_URI;

core/java/android/provider/ContactsContract.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1536,7 +1536,11 @@ public static Uri lookupContact(ContentResolver resolver, Uri lookupUri) {
15361536
*
15371537
* @param resolver the ContentResolver to use
15381538
* @param contactId the person who was contacted
1539+
*
1540+
* @deprecated The class DataUsageStatUpdater of the Android support library should
1541+
* be used instead.
15391542
*/
1543+
@Deprecated
15401544
public static void markAsContacted(ContentResolver resolver, long contactId) {
15411545
Uri uri = ContentUris.withAppendedId(CONTENT_URI, contactId);
15421546
ContentValues values = new ContentValues();

0 commit comments

Comments
 (0)