diff options
author | Paul Kocialkowski <contact@paulk.fr> | 2014-07-02 20:09:27 +0200 |
---|---|---|
committer | Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de> | 2015-12-30 16:42:10 +0100 |
commit | c3863a9d42b2952cf47b8a6eddff52d539e6b94f (patch) | |
tree | 25355c23371745d0999be2e1bf872073a7f9e5cd /src/com/android/browser | |
parent | d4ebfb59c3bf395bf5fb98ce047f0d6b5fdce166 (diff) | |
download | packages_apps_Browser-c3863a9d42b2952cf47b8a6eddff52d539e6b94f.zip packages_apps_Browser-c3863a9d42b2952cf47b8a6eddff52d539e6b94f.tar.gz packages_apps_Browser-c3863a9d42b2952cf47b8a6eddff52d539e6b94f.tar.bz2 |
Possibility to disable the search engine and DuckDuckGo for all!
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
Conflicts:
res/values-cs-rCZ/donottranslate-search_engines.xml
res/values-da-rDK/donottranslate-search_engines.xml
res/values-de-rAT/donottranslate-search_engines.xml
res/values-de-rCH/donottranslate-search_engines.xml
res/values-de-rDE/donottranslate-search_engines.xml
res/values-el-rGR/donottranslate-search_engines.xml
res/values-en-rAU/donottranslate-search_engines.xml
res/values-en-rGB/donottranslate-search_engines.xml
res/values-en-rIE/donottranslate-search_engines.xml
res/values-en-rNZ/donottranslate-search_engines.xml
res/values-en-rSG/donottranslate-search_engines.xml
res/values-en-rUS/donottranslate-search_engines.xml
res/values-en-rZA/donottranslate-search_engines.xml
res/values-es-rES/donottranslate-search_engines.xml
res/values-fr-rBE/donottranslate-search_engines.xml
res/values-fr-rFR/donottranslate-search_engines.xml
res/values-it-rIT/donottranslate-search_engines.xml
res/values-ja-rJP/donottranslate-search_engines.xml
res/values-ko-rKR/donottranslate-search_engines.xml
res/values-nb-rNO/donottranslate-search_engines.xml
res/values-nl-rBE/donottranslate-search_engines.xml
res/values-nl-rNL/donottranslate-search_engines.xml
res/values-pl-rPL/donottranslate-search_engines.xml
res/values-pt-rBR/donottranslate-search_engines.xml
res/values-pt-rPT/donottranslate-search_engines.xml
res/values-ru-rRU/donottranslate-search_engines.xml
res/values-sv-rSE/donottranslate-search_engines.xml
res/values-tr-rTR/donottranslate-search_engines.xml
res/values-zh-rCN/donottranslate-search_engines.xml
res/values-zh-rHK/donottranslate-search_engines.xml
res/values-zh-rTW/donottranslate-search_engines.xml
res/values/donottranslate-search_engines.xml
Change-Id: If429077edc9960f336d3cd653f00a125d8cefad2
Diffstat (limited to 'src/com/android/browser')
-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; |