Doc update: fix bug in Calendar Provider docs.

"Bug: 8472477"

Change-Id: Ib2d8b27a0343db45bb1efa326bd573c383573af2
This commit is contained in:
kmccormick
2013-03-25 16:00:56 -07:00
parent a15afd2bc4
commit 3a2608cc17

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>