Merge "Doc update: fix bug in Calendar Provider docs." into jb-mr1.1-docs

This commit is contained in:
kmccormick
2013-03-25 23:11:30 +00:00
committed by Android (Google) Code Review

View File

@@ -605,7 +605,7 @@ ContentValues values = new ContentValues();
Uri updateUri = null;
// The new title for the event
values.put(Events.TITLE, "Kickboxing");
myUri = ContentUris.withAppendedId(Events.CONTENT_URI, eventID);
updateUri = ContentUris.withAppendedId(Events.CONTENT_URI, eventID);
int rows = getContentResolver().update(updateUri, values, null, null);
Log.i(DEBUG_TAG, &quot;Rows updated: &quot; + rows); </pre>