summaryrefslogtreecommitdiffstats
path: root/docs/html/guide
diff options
context:
space:
mode:
authorJoe Malin <jmalin@google.com>2012-07-03 14:19:20 -0700
committerJoe Malin <jmalin@google.com>2012-07-03 14:34:16 -0700
commitfd29e8a58f3c5bb958478015d22524994d6e56ae (patch)
treed0bcf71e762ecd55ce7a4f82db3c712fe6376e1e /docs/html/guide
parent399df5677bd116a016664a10a0da432da29e829d (diff)
downloadframeworks_base-fd29e8a58f3c5bb958478015d22524994d6e56ae.zip
frameworks_base-fd29e8a58f3c5bb958478015d22524994d6e56ae.tar.gz
frameworks_base-fd29e8a58f3c5bb958478015d22524994d6e56ae.tar.bz2
DOC CHANGE: AOSP33968 Typo
Change-Id: I05de2666db6074c84caf540658aad96e6a4805d5
Diffstat (limited to 'docs/html/guide')
-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;