Skip to content

Commit

Permalink
DOC CHANGE: AOSP33968 Typo
Browse files Browse the repository at this point in the history
Change-Id: I05de2666db6074c84caf540658aad96e6a4805d5
  • Loading branch information
Joe Malin committed Jul 3, 2012
1 parent 399df56 commit fd29e8a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/html/guide/topics/providers/content-provider-basics.jd
Original file line number Diff line number Diff line change
Expand Up @@ -455,7 +455,7 @@ String[] mSelectionArgs = {""};
<p>
In the next snippet, if the user doesn't enter a word, the selection clause is set to
<code>null</code>, and the query returns all the words in the provider. If the user enters
a word, the selection clause is set to <code>UserDictionary.Words.Word + " = ?"</code> and
a word, the selection clause is set to <code>UserDictionary.Words.WORD + " = ?"</code> and
the first element of selection arguments array is set to the word the user enters.
</p>
<pre class="prettyprint">
Expand All @@ -477,7 +477,7 @@ if (TextUtils.isEmpty(mSearchString)) {

} else {
// Constructs a selection clause that matches the word that the user entered.
mSelectionClause = " = ?";
mSelectionClause = UserDictionary.Words.WORD + " = ?";

// Moves the user's input string to the selection arguments.
mSelectionArgs[0] = mSearchString;
Expand Down

0 comments on commit fd29e8a

Please sign in to comment.