summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorMike LeBeau <mlebeau@android.com>2009-08-17 10:56:02 -0700
committerMike LeBeau <mlebeau@android.com>2009-08-17 11:10:32 -0700
commitcfa419b754332e12f8cd45244c2f3bee9d6a74bb (patch)
treee49378f8ae0ce61f03f6eb751f797ded0a9e5ebc /core
parentd5884a9ba45e58294c09fd2747c87d761b9daee5 (diff)
downloadframeworks_base-cfa419b754332e12f8cd45244c2f3bee9d6a74bb.zip
frameworks_base-cfa419b754332e12f8cd45244c2f3bee9d6a74bb.tar.gz
frameworks_base-cfa419b754332e12f8cd45244c2f3bee9d6a74bb.tar.bz2
Correct comments for startSearch in Activity and SearchManager to explain
Donut behavior correctly.
Diffstat (limited to 'core')
-rw-r--r--core/java/android/app/Activity.java2
-rw-r--r--core/java/android/app/SearchManager.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/core/java/android/app/Activity.java b/core/java/android/app/Activity.java
index 4ac3b9e..f2905a7 100644
--- a/core/java/android/app/Activity.java
+++ b/core/java/android/app/Activity.java
@@ -2521,7 +2521,7 @@ public class Activity extends ContextThemeWrapper
* no extra data is required.
* @param globalSearch If false, this will only launch the search that has been specifically
* defined by the application (which is usually defined as a local search). If no default
- * search is defined in the current application or activity, no search will be launched.
+ * search is defined in the current application or activity, global search will be launched.
* If true, this will always launch a platform-global (e.g. web-based) search instead.
*
* @see android.app.SearchManager
diff --git a/core/java/android/app/SearchManager.java b/core/java/android/app/SearchManager.java
index 97d46f8..d2a3a1d 100644
--- a/core/java/android/app/SearchManager.java
+++ b/core/java/android/app/SearchManager.java
@@ -1683,7 +1683,7 @@ public class SearchManager
* no extra data is required.
* @param globalSearch If false, this will only launch the search that has been specifically
* defined by the application (which is usually defined as a local search). If no default
- * search is defined in the current application or activity, no search will be launched.
+ * search is defined in the current application or activity, global search will be launched.
* If true, this will always launch a platform-global (e.g. web-based) search instead.
*
* @see android.app.Activity#onSearchRequested