Merge "docs: fix markup in javadocs Change-Id: I1f9be842f40c813134fbcd5fdbbead5647fb72e5"
This commit is contained in:
@@ -2983,8 +2983,9 @@ public final class ContactsContract {
|
|||||||
* long streamItemId = ContentUris.parseId(streamItemUri);
|
* long streamItemId = ContentUris.parseId(streamItemUri);
|
||||||
* </pre>
|
* </pre>
|
||||||
* </dd>
|
* </dd>
|
||||||
* <dt>Via the {@link StreamItems#CONTENT_URI} URI:</dt>
|
* <dt>Via {@link StreamItems#CONTENT_URI}:</dt>
|
||||||
* <dd>
|
* <dd>
|
||||||
|
*<pre>
|
||||||
* ContentValues values = new ContentValues();
|
* ContentValues values = new ContentValues();
|
||||||
* values.put(StreamItems.RAW_CONTACT_ID, rawContactId);
|
* values.put(StreamItems.RAW_CONTACT_ID, rawContactId);
|
||||||
* values.put(StreamItems.TEXT, "Breakfasted at Tiffanys");
|
* values.put(StreamItems.TEXT, "Breakfasted at Tiffanys");
|
||||||
@@ -2992,6 +2993,7 @@ public final class ContactsContract {
|
|||||||
* values.put(StreamItems.COMMENTS, "3 people reshared this");
|
* values.put(StreamItems.COMMENTS, "3 people reshared this");
|
||||||
* Uri streamItemUri = getContentResolver().insert(StreamItems.CONTENT_URI, values);
|
* Uri streamItemUri = getContentResolver().insert(StreamItems.CONTENT_URI, values);
|
||||||
* long streamItemId = ContentUris.parseId(streamItemUri);
|
* long streamItemId = ContentUris.parseId(streamItemUri);
|
||||||
|
*</pre>
|
||||||
* </dd>
|
* </dd>
|
||||||
* </dl>
|
* </dl>
|
||||||
* </dd>
|
* </dd>
|
||||||
@@ -3012,7 +3014,7 @@ public final class ContactsContract {
|
|||||||
* StreamItems.StreamItemPhotos.CONTENT_DIRECTORY), values);
|
* StreamItems.StreamItemPhotos.CONTENT_DIRECTORY), values);
|
||||||
* </pre>
|
* </pre>
|
||||||
* </dd>
|
* </dd>
|
||||||
* <dt>Via {@link ContactsContract.StreamItems#CONTENT_PHOTO_URI}</dt>
|
* <dt>Via {@link ContactsContract.StreamItems#CONTENT_PHOTO_URI}:</dt>
|
||||||
* <dd>
|
* <dd>
|
||||||
* <pre>
|
* <pre>
|
||||||
* values.clear();
|
* values.clear();
|
||||||
@@ -3021,7 +3023,7 @@ public final class ContactsContract {
|
|||||||
* values.put(StreamItemPhotos.PHOTO, photoData);
|
* values.put(StreamItemPhotos.PHOTO, photoData);
|
||||||
* getContentResolver().insert(StreamItems.CONTENT_PHOTO_URI, values);
|
* getContentResolver().insert(StreamItems.CONTENT_PHOTO_URI, values);
|
||||||
* </pre>
|
* </pre>
|
||||||
* Note that this latter form allows the insertion of a stream item and its
|
* <p>Note that this latter form allows the insertion of a stream item and its
|
||||||
* photos in a single transaction, by using {@link ContentProviderOperation} with
|
* photos in a single transaction, by using {@link ContentProviderOperation} with
|
||||||
* back references to populate the stream item ID in the {@link ContentValues}.
|
* back references to populate the stream item ID in the {@link ContentValues}.
|
||||||
* </dd>
|
* </dd>
|
||||||
|
|||||||
Reference in New Issue
Block a user