summaryrefslogtreecommitdiffstats
path: root/src/com/android/browser/search
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/android/browser/search')
-rw-r--r--src/com/android/browser/search/DefaultSearchEngine.java4
-rw-r--r--src/com/android/browser/search/OpenSearchSearchEngine.java4
-rw-r--r--src/com/android/browser/search/SearchEngine.java5
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();