diff options
author | Michael Kolb <kolby@google.com> | 2012-05-03 11:37:58 -0700 |
---|---|---|
committer | Michael Kolb <kolby@google.com> | 2012-05-03 15:25:01 -0700 |
commit | 5ff5c8b88968fa794eab4b7a263cae25f05bd4d3 (patch) | |
tree | 5c64bedb6089f7516b1e34de38e6bde5ecc098d3 /src/com/android/browser/search | |
parent | f6504f863a407c9b4615ac14de9b623775f65f69 (diff) | |
download | packages_apps_Browser-5ff5c8b88968fa794eab4b7a263cae25f05bd4d3.zip packages_apps_Browser-5ff5c8b88968fa794eab4b7a263cae25f05bd4d3.tar.gz packages_apps_Browser-5ff5c8b88968fa794eab4b7a263cae25f05bd4d3.tar.bz2 |
Remove voice search handling
Bug: 6439925
Change-Id: I1b7161a67fa0c20d87f147d6ed19c02e53093054
Diffstat (limited to 'src/com/android/browser/search')
-rw-r--r-- | src/com/android/browser/search/DefaultSearchEngine.java | 4 | ||||
-rw-r--r-- | src/com/android/browser/search/OpenSearchSearchEngine.java | 4 | ||||
-rw-r--r-- | src/com/android/browser/search/SearchEngine.java | 5 |
3 files changed, 0 insertions, 13 deletions
diff --git a/src/com/android/browser/search/DefaultSearchEngine.java b/src/com/android/browser/search/DefaultSearchEngine.java index a575404..e4e0e96 100644 --- a/src/com/android/browser/search/DefaultSearchEngine.java +++ b/src/com/android/browser/search/DefaultSearchEngine.java @@ -118,10 +118,6 @@ public class DefaultSearchEngine implements SearchEngine { public void close() { } - public boolean supportsVoiceSearch() { - return getName().equals(SearchEngine.GOOGLE); - } - @Override public String toString() { return "ActivitySearchEngine{" + mSearchable + "}"; diff --git a/src/com/android/browser/search/OpenSearchSearchEngine.java b/src/com/android/browser/search/OpenSearchSearchEngine.java index 50585c0..e600aa9 100644 --- a/src/com/android/browser/search/OpenSearchSearchEngine.java +++ b/src/com/android/browser/search/OpenSearchSearchEngine.java @@ -195,10 +195,6 @@ public class OpenSearchSearchEngine implements SearchEngine { mHttpClient.close(); } - public boolean supportsVoiceSearch() { - return getName().equals(SearchEngine.GOOGLE); - } - private boolean isNetworkConnected(Context context) { NetworkInfo networkInfo = getActiveNetworkInfo(context); return networkInfo != null && networkInfo.isConnected(); diff --git a/src/com/android/browser/search/SearchEngine.java b/src/com/android/browser/search/SearchEngine.java index 3643005..8f2d58d 100644 --- a/src/com/android/browser/search/SearchEngine.java +++ b/src/com/android/browser/search/SearchEngine.java @@ -58,11 +58,6 @@ public interface SearchEngine { public void close(); /** - * Checks whether this search engine supports voice search. - */ - public boolean supportsVoiceSearch(); - - /** * Checks whether this search engine should be sent zero char query. */ public boolean wantsEmptyQuery(); |