am 4c633ea6: Merge "DOC CHANGE: AOSP33968 Typo" into jb-dev
* commit '4c633ea6f28711d168f690f7443c9523451bdbab': DOC CHANGE: AOSP33968 Typo
This commit is contained in:
@@ -455,7 +455,7 @@ String[] mSelectionArgs = {""};
|
|||||||
<p>
|
<p>
|
||||||
In the next snippet, if the user doesn't enter a word, the selection clause is set to
|
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
|
<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.
|
the first element of selection arguments array is set to the word the user enters.
|
||||||
</p>
|
</p>
|
||||||
<pre class="prettyprint">
|
<pre class="prettyprint">
|
||||||
@@ -477,7 +477,7 @@ if (TextUtils.isEmpty(mSearchString)) {
|
|||||||
|
|
||||||
} else {
|
} else {
|
||||||
// Constructs a selection clause that matches the word that the user entered.
|
// 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.
|
// Moves the user's input string to the selection arguments.
|
||||||
mSelectionArgs[0] = mSearchString;
|
mSelectionArgs[0] = mSearchString;
|
||||||
|
|||||||
Reference in New Issue
Block a user