Skip to content

Commit 4c633ea

Browse files
Joe MalinAndroid (Google) Code Review
authored andcommitted
Merge "DOC CHANGE: AOSP33968 Typo" into jb-dev
2 parents 8d5efa6 + fd29e8a commit 4c633ea

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/html/guide/topics/providers/content-provider-basics.jd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -455,7 +455,7 @@ String[] mSelectionArgs = {""};
455455
<p>
456456
In the next snippet, if the user doesn't enter a word, the selection clause is set to
457457
<code>null</code>, and the query returns all the words in the provider. If the user enters
458-
a word, the selection clause is set to <code>UserDictionary.Words.Word + " = ?"</code> and
458+
a word, the selection clause is set to <code>UserDictionary.Words.WORD + " = ?"</code> and
459459
the first element of selection arguments array is set to the word the user enters.
460460
</p>
461461
<pre class="prettyprint">
@@ -477,7 +477,7 @@ if (TextUtils.isEmpty(mSearchString)) {
477477

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

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

0 commit comments

Comments
 (0)