diff options
author | Victoria Lease <violets@google.com> | 2012-03-29 11:26:09 -0700 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2012-03-29 11:26:09 -0700 |
commit | aa6bd4d2b2d2ee7322512a1fca60ca40e4a002c8 (patch) | |
tree | 0f696b3506c047b1728befacb956c44975722c7f | |
parent | c0297e35d7f687fd499c2daddd65b0f279f924ef (diff) | |
parent | e5ce1bc4792003844b2ad60fbe2078f2ab8e1ebe (diff) | |
download | packages_apps_Browser-aa6bd4d2b2d2ee7322512a1fca60ca40e4a002c8.zip packages_apps_Browser-aa6bd4d2b2d2ee7322512a1fca60ca40e4a002c8.tar.gz packages_apps_Browser-aa6bd4d2b2d2ee7322512a1fca60ca40e4a002c8.tar.bz2 |
Merge "Remove "hl=" parameter from incognito-mode GWS searches. It prevents GWS from honoring Accept-language: headers, and can result in degraded search result quality."
-rw-r--r-- | res/values/all_search_engines.xml | 4 | ||||
-rwxr-xr-x | tools/get_search_engines.py | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/res/values/all_search_engines.xml b/res/values/all_search_engines.xml index 58992a4..da8d3b2 100644 --- a/res/values/all_search_engines.xml +++ b/res/values/all_search_engines.xml @@ -208,9 +208,9 @@ http://www.opensearch.org/Specifications/OpenSearch/1.1/Draft_4#OpenSearch_1.1_p <item>Google</item> <item>google.com</item> <item>http://www.google.com/favicon.ico</item> - <item>http://www.google.com/search?hl={language}&ie={inputEncoding}&source=android-browser&q={searchTerms}</item> + <item>http://www.google.com/search?ie={inputEncoding}&source=android-browser&q={searchTerms}</item> <item>UTF-8</item> - <item>http://www.google.com/complete/search?hl={language}&client=android&q={searchTerms}</item> + <item>http://www.google.com/complete/search?client=android&q={searchTerms}</item> </string-array> <string-array name="bing_en_NZ" translatable="false"> <item>Bing</item> diff --git a/tools/get_search_engines.py b/tools/get_search_engines.py index 86393f1..17916c8 100755 --- a/tools/get_search_engines.py +++ b/tools/get_search_engines.py @@ -39,9 +39,9 @@ locales = ["cs-CZ", "da-DK", "de-AT", "de-CH", "de-DE", "el-GR", "en-AU", google_data = ["google", "Google", "google.com", "http://www.google.com/favicon.ico", - "http://www.google.com/search?hl={language}&ie={inputEncoding}&source=android-browser&q={searchTerms}", + "http://www.google.com/search?ie={inputEncoding}&source=android-browser&q={searchTerms}", "UTF-8", - "http://www.google.com/complete/search?hl={language}&client=android&q={searchTerms}"] + "http://www.google.com/complete/search?client=android&q={searchTerms}"] class SearchEngineManager(object): """Manages list of search engines and creates locale specific lists. |