summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoe Malin <jmalin@google.com>2012-07-03 15:12:46 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2012-07-03 15:12:46 -0700
commit4c633ea6f28711d168f690f7443c9523451bdbab (patch)
treea15d2cfcf9b6a3f26fd3cd5f386f5a56107718bf
parent8d5efa6a8c68f53198b35d01ce64857ae1bf7946 (diff)
parentfd29e8a58f3c5bb958478015d22524994d6e56ae (diff)
downloadframeworks_base-4c633ea6f28711d168f690f7443c9523451bdbab.zip
frameworks_base-4c633ea6f28711d168f690f7443c9523451bdbab.tar.gz
frameworks_base-4c633ea6f28711d168f690f7443c9523451bdbab.tar.bz2
Merge "DOC CHANGE: AOSP33968 Typo" into jb-dev
-rw-r--r--docs/html/guide/topics/providers/content-provider-basics.jd4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/html/guide/topics/providers/content-provider-basics.jd b/docs/html/guide/topics/providers/content-provider-basics.jd
index b1d6827..7999033 100644
--- a/docs/html/guide/topics/providers/content-provider-basics.jd
+++ b/docs/html/guide/topics/providers/content-provider-basics.jd
@@ -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">
@@ -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;