Contacts Provider Training - fix minor code snippet typos.

Change-Id: I3edf86d276d877914a3d97e596e1bb35d1b1ce1f
This commit is contained in:
Adam Koch
2013-05-01 12:21:20 -04:00
parent 292c979a0f
commit bbed0513ab

View File

@@ -169,8 +169,8 @@ trainingnavtop=true
// Gets a content URI for the contact // Gets a content URI for the contact
mContactUri = mContactUri =
Contacts.getLookupUri( Contacts.getLookupUri(
Cursor.getLong(mIdColumn), mCursor.getLong(mIdColumn),
Cursor.getString(mLookupKeyColumn) mCursor.getString(mLookupKeyColumn)
); );
mBadge.assignContactUri(mContactUri); mBadge.assignContactUri(mContactUri);
</pre> </pre>
@@ -221,7 +221,7 @@ trainingnavtop=true
* Assuming the current Cursor position is the contact you want, * Assuming the current Cursor position is the contact you want,
* gets the thumbnail ID * gets the thumbnail ID
*/ */
mThumbnailUri = Cursor.getString(mThumbnailColumn); mThumbnailUri = mCursor.getString(mThumbnailColumn);
... ...
</pre> </pre>
<p> <p>