diff options
| author | krosaen <krosaen@android.com> | 2009-08-17 08:56:48 -0700 |
|---|---|---|
| committer | Karl Rosaen <krosaen@android.com> | 2009-08-18 08:56:03 -0700 |
| commit | d2d6014f715f12f6263f61ba3eeb6f8cba6d0fa6 (patch) | |
| tree | 6e075767b94546c6f0d6629587dd9a0204cef72e /core/java/android/app/SearchDialog.java | |
| parent | 1a8c1599de630ae4199b71cb3eca75d7db9c40d6 (diff) | |
NEW API for SearchManager and Activity to 'triggerSearch'.
This is pretty much the same thing as startSearch, except it also launches the
query. We enforce that this can only be done for the package of the app that is
associated with the search mananger (e.g you can't trigger a contacts search
from anywhere).
Diffstat (limited to 'core/java/android/app/SearchDialog.java')
| -rw-r--r-- | core/java/android/app/SearchDialog.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/java/android/app/SearchDialog.java b/core/java/android/app/SearchDialog.java index b75bec2dc8eb..8a9cca7fdd58 100644 --- a/core/java/android/app/SearchDialog.java +++ b/core/java/android/app/SearchDialog.java @@ -1120,7 +1120,7 @@ public class SearchDialog extends Dialog implements OnItemClickListener, OnItemS /** * Launch a search for the text in the query text field. */ - protected void launchQuerySearch() { + public void launchQuerySearch() { launchQuerySearch(KeyEvent.KEYCODE_UNKNOWN, null); } |
