commit | 17c4eba32d411830f67aca2077253ac42f606452 | [log] [tgz] |
---|---|---|
author | Michael Kolb <kolby@google.com> | Mon Jan 10 13:10:07 2011 -0800 |
committer | Michael Kolb <kolby@google.com> | Tue Jan 11 16:47:03 2011 -0800 |
tree | c7f3156302edf01f0cc9f0aa65d14238e90e28b3 | |
parent | b1d27b1c2e4898eb7c08ee1ae47a2b99c814ac12 [diff] [blame] |
restrict voice search to web http://b/issue?id=3176717 Add the EXTRA_WEB_SEARCH_ONLY to the intent Change-Id: I21e537957a16cd0e2847149a6d424417157844d1
diff --git a/src/com/android/browser/Controller.java b/src/com/android/browser/Controller.java index e707e36..50e7813 100644 --- a/src/com/android/browser/Controller.java +++ b/src/com/android/browser/Controller.java
@@ -1026,6 +1026,7 @@ intent.putExtra(RecognizerIntent.EXTRA_CALLING_PACKAGE, mActivity.getComponentName().flattenToString()); intent.putExtra(SEND_APP_ID_EXTRA, false); + intent.putExtra(RecognizerIntent.EXTRA_WEB_SEARCH_ONLY, true); mActivity.startActivity(intent); }