diff options
author | Bjorn Bringert <bringert@android.com> | 2010-09-16 09:43:30 -0700 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2010-09-16 09:43:30 -0700 |
commit | b67fdc5603fdd0ce9109326fa5605e011bc228e4 (patch) | |
tree | 11dac7b530b5081c449537b9b4f7b9bb8b87df36 /src/com/android/browser/search | |
parent | dc63589e30cfe8f27496a1be3338db95728158de (diff) | |
parent | fd82abf2520a04517f79e08aad0449183b1b031b (diff) | |
download | packages_apps_Browser-b67fdc5603fdd0ce9109326fa5605e011bc228e4.zip packages_apps_Browser-b67fdc5603fdd0ce9109326fa5605e011bc228e4.tar.gz packages_apps_Browser-b67fdc5603fdd0ce9109326fa5605e011bc228e4.tar.bz2 |
am fd82abf2: am 26b9ad1c: am 785ad9a5: Send WEB_SEARCH intent straight to default search provider if selected
Merge commit 'fd82abf2520a04517f79e08aad0449183b1b031b'
* commit 'fd82abf2520a04517f79e08aad0449183b1b031b':
Send WEB_SEARCH intent straight to default search provider if selected
Diffstat (limited to 'src/com/android/browser/search')
-rw-r--r-- | src/com/android/browser/search/DefaultSearchEngine.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/com/android/browser/search/DefaultSearchEngine.java b/src/com/android/browser/search/DefaultSearchEngine.java index c939de7..f282b0b 100644 --- a/src/com/android/browser/search/DefaultSearchEngine.java +++ b/src/com/android/browser/search/DefaultSearchEngine.java @@ -82,6 +82,7 @@ public class DefaultSearchEngine implements SearchEngine { public void startSearch(Context context, String query, Bundle appData, String extraData) { try { Intent intent = new Intent(Intent.ACTION_WEB_SEARCH); + intent.setComponent(mSearchable.getSearchActivity()); intent.addCategory(Intent.CATEGORY_DEFAULT); intent.putExtra(SearchManager.QUERY, query); if (appData != null) { |