diff options
author | Paul Kocialkowski <contact@paulk.fr> | 2014-07-02 20:09:27 +0200 |
---|---|---|
committer | Paul Kocialkowski <contact@paulk.fr> | 2014-07-02 20:12:38 +0200 |
commit | 47164dd38df598b39426eca5f972e5544ef6e7f7 (patch) | |
tree | 6d640250602d887cf1cca0181749eb2d60460149 /src/com/android | |
parent | 72806ebcce7f31d1aaa55f5f50c4f62d7dfd99ef (diff) | |
download | packages_apps_browser-47164dd38df598b39426eca5f972e5544ef6e7f7.zip packages_apps_browser-47164dd38df598b39426eca5f972e5544ef6e7f7.tar.gz packages_apps_browser-47164dd38df598b39426eca5f972e5544ef6e7f7.tar.bz2 |
Possibility to disable the search engine and DuckDuckGo for all!replicant-4.2-0002
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
Diffstat (limited to 'src/com/android')
-rw-r--r-- | src/com/android/browser/search/SearchEngineInfo.java | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/com/android/browser/search/SearchEngineInfo.java b/src/com/android/browser/search/SearchEngineInfo.java index ec304f6..7866ff1 100644 --- a/src/com/android/browser/search/SearchEngineInfo.java +++ b/src/com/android/browser/search/SearchEngineInfo.java @@ -77,9 +77,6 @@ public class SearchEngineInfo { throw new IllegalArgumentException( name + " has invalid number of fields - " + mSearchEngineData.length); } - if (TextUtils.isEmpty(mSearchEngineData[FIELD_SEARCH_URI])) { - throw new IllegalArgumentException(name + " has an empty search URI"); - } // Add the current language/country information to the URIs. Locale locale = context.getResources().getConfiguration().locale; |