Skip to content

Commit 58ab2bc

Browse files
Daniel LehmannAndroid (Google) Code Review
authored andcommitted
Merge "Depcrecate increment function (should have been done back in ICS)"
2 parents a12e1fe + a1620dc commit 58ab2bc

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
@@ -16853,7 +16853,7 @@ package android.provider {
1685316853
method public static android.net.Uri getLookupUri(android.content.ContentResolver, android.net.Uri);
1685416854
method public static android.net.Uri getLookupUri(long, java.lang.String);
1685516855
method public static android.net.Uri lookupContact(android.content.ContentResolver, android.net.Uri);
16856-
method public static void markAsContacted(android.content.ContentResolver, long);
16856+
method public static deprecated void markAsContacted(android.content.ContentResolver, long);
1685716857
method public static java.io.InputStream openContactPhotoInputStream(android.content.ContentResolver, android.net.Uri, boolean);
1685816858
method public static java.io.InputStream openContactPhotoInputStream(android.content.ContentResolver, android.net.Uri);
1685916859
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)