From d2d6014f715f12f6263f61ba3eeb6f8cba6d0fa6 Mon Sep 17 00:00:00 2001 From: krosaen Date: Mon, 17 Aug 2009 08:56:48 -0700 Subject: 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). --- api/current.xml | 36 +++++++++++++ core/java/android/app/Activity.java | 21 +++++++- core/java/android/app/ISearchManager.aidl | 11 ++++ core/java/android/app/SearchDialog.java | 2 +- core/java/android/app/SearchManager.java | 62 +++++++++++++++++++++- .../android/server/search/SearchDialogWrapper.java | 17 ++++-- .../server/search/SearchManagerService.java | 26 ++++++++- 7 files changed, 166 insertions(+), 9 deletions(-) diff --git a/api/current.xml b/api/current.xml index ca8d81f9524b..b704eb3fdc8d 100644 --- a/api/current.xml +++ b/api/current.xml @@ -16991,6 +16991,23 @@ + + + + + + + + + + + + + + + + + +