From cfa419b754332e12f8cd45244c2f3bee9d6a74bb Mon Sep 17 00:00:00 2001 From: Mike LeBeau Date: Mon, 17 Aug 2009 10:56:02 -0700 Subject: [PATCH] Correct comments for startSearch in Activity and SearchManager to explain Donut behavior correctly. --- core/java/android/app/Activity.java | 2 +- core/java/android/app/SearchManager.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/core/java/android/app/Activity.java b/core/java/android/app/Activity.java index 4ac3b9e9ae20..f2905a7d80c5 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 97d46f8efb59..d2a3a1d2dbea 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 -- 2.11.0