9 years agomerge from master master
Jean-Baptiste Queru [Thu, 3 Sep 2009 21:18:29 +0000]
merge from master

9 years agoRemove WebSearchProvider package from tree. eclair-9.12.13 eclair-tegra tegra-9.12.10 tegra-9.12.11 tegra-9.12.12 tegra-9.12.13 tegra- tegra-9.12.5 tegra-9.12.5-baseline tegra-9.12.6 tegra-9.12.6-baseline tegra-9.12.7 tegra-9.12.8 tegra-9.12.9
Anonymous Coward [Mon, 31 Aug 2009 14:10:39 +0000]
Remove WebSearchProvider package from tree.

9 years agoTranslations for bug 2067035. DO NOT MERGE
Eric Fischer [Wed, 26 Aug 2009 18:11:17 +0000]
Translations for bug 2067035.  DO NOT MERGE

Change-Id: I39acc3a013ebbcb7f1c1c5a1ba1091d1120856d4

9 years agoImport revised translations. DO NOT MERGE
Eric Fischer [Thu, 20 Aug 2009 21:08:35 +0000]
Import revised translations.  DO NOT MERGE

9 years agoam 9b51a5d4: (-s ours) Import revised translations. DO NOT MERGE
Eric Fischer [Tue, 4 Aug 2009 00:09:17 +0000]
am 9b51a5d4: (-s ours) Import revised translations.  DO NOT MERGE

Merge commit '9b51a5d413842d4693ba385d98c8c3ca22931863'

* commit '9b51a5d413842d4693ba385d98c8c3ca22931863':
  Import revised translations.  DO NOT MERGE

9 years agoImport revised translations. DO NOT MERGE
Eric Fischer [Mon, 3 Aug 2009 23:32:37 +0000]
Import revised translations.  DO NOT MERGE

9 years agoAdd MODULE_LICENSE_APACHE2 to WebSearchProvider to allow it to be
Mike LeBeau [Fri, 31 Jul 2009 23:02:16 +0000]
Add MODULE_LICENSE_APACHE2 to WebSearchProvider to allow it to be

9 years agoAdd a few more explanatory comments to WebSearchProvider so it's clearer
Mike LeBeau [Fri, 31 Jul 2009 22:50:44 +0000]
Add a few more explanatory comments to WebSearchProvider so it's clearer
in the open source what this package is for.

9 years agoPass along our package name as the app id if one is not passed in for
Mike LeBeau [Wed, 29 Jul 2009 01:31:28 +0000]
Pass along our package name as the app id if one is not passed in for
web search intents.

Fixes http://b/2020191

9 years agoPass through the browser's application id extra if one is provided, so that the brows...
Mike LeBeau [Tue, 28 Jul 2009 22:02:52 +0000]
Pass through the browser's application id extra if one is provided, so that the browser can figure out which window to put a new search into.

9 years agoHandle ACTION_SEARCH in WebSearchProvider
Bjorn Bringert [Mon, 27 Jul 2009 11:12:04 +0000]
Handle ACTION_SEARCH in WebSearchProvider

Fixes http://b/issue?id=2014515 for WebSearchProvider

9 years agoAdded settings to WebSearchProvider
Bjorn Bringert [Fri, 24 Jul 2009 05:13:21 +0000]
Added settings to WebSearchProvider

WebSearchProvider now has its own settings UI, with a
"Show web suggestions" preference. This is disabled
if we do not support suggestions for the selected
search engine.

This is the WebSearchProvider part of http://b/issue?id=1996992

9 years agoImport new translations
Eric Fischer [Mon, 13 Jul 2009 22:56:52 +0000]
Import new translations

9 years agoRename "no" locale search_engines.xml file to "nb" locale for consistency.
Eric Fischer [Thu, 9 Jul 2009 18:07:21 +0000]
Rename "no" locale search_engines.xml file to "nb" locale for consistency.

9 years agoTurn on autoUrlDetect in search dialog for search engines.
Satish Sampath [Wed, 8 Jul 2009 13:56:56 +0000]
Turn on autoUrlDetect in search dialog for search engines.

9 years agoAdded ACCESS_NETWORK_STATE perm to WebSeachProvider
Bjorn Bringert [Wed, 24 Jun 2009 23:32:51 +0000]
Added ACCESS_NETWORK_STATE perm to WebSeachProvider

9 years agoFail fast if there is no network connection.
Bjorn Bringert [Wed, 24 Jun 2009 17:01:35 +0000]
Fail fast if there is no network connection.

Fixes http://b/issue?id=1920886 for WebSearchProvider.

9 years agoMerge change 4419 into donut
Android (Google) Code Review [Wed, 17 Jun 2009 20:59:52 +0000]
Merge change 4419 into donut

* changes:
  Make name of Web Search provider localizable.

9 years agoMake name of Web Search provider localizable.
Eric Fischer [Tue, 16 Jun 2009 23:35:39 +0000]
Make name of Web Search provider localizable.

9 years agoRevert to using ACTION_VIEW & add location via extra field.
Satish Sampath [Mon, 15 Jun 2009 23:07:28 +0000]
Revert to using ACTION_VIEW & add location via extra field.

9 years agoUse ACTION_SEARCH to launch search URLs.
Satish Sampath [Thu, 11 Jun 2009 22:31:38 +0000]
Use ACTION_SEARCH to launch search URLs.

This was done so that the browser can identify them as search requests and add location information to the request if enabled.

9 years agoAdd queryAfterZeroResults flag to all web search providers
Satish Sampath [Thu, 11 Jun 2009 17:32:42 +0000]
Add queryAfterZeroResults flag to all web search providers

9 years agoUpdate WebSearchProvider .mk file's target file name.
Satish Sampath [Thu, 11 Jun 2009 16:36:21 +0000]
Update WebSearchProvider .mk file's target file name.

We are using the WebSearchProvider name now in core.mk and other mk files and due to this mistake in naming here this was not getting built/included by default.

9 years agoAdds icon to represent third party web search engines.
Satish Sampath [Wed, 10 Jun 2009 13:03:09 +0000]
Adds icon to represent third party web search engines.

9 years agoRemove the onboot handler which has moved to Searchables.
Satish Sampath [Thu, 4 Jun 2009 13:06:45 +0000]
Remove the onboot handler which has moved to Searchables.

This is a rollback of change 2908. The Searchables module of SearchManager now takes care of setting the preferred web search activity when required on boot, on package add/remove/update and other such events, so this is no longer needed.

9 years agoFix errors in the web search metadata checked in earlier.
Satish Sampath [Wed, 3 Jun 2009 16:46:16 +0000]
Fix errors in the web search metadata checked in earlier.

We had a copy of en-US strings checked into the values-en-rUS directory but it
should have been under values directory.
Reinstating the '@' symbol in 2 search engine names by escaping them with a
backslash. The script used to generate these files will be submitted in a
separate review.

9 years agoMerge change 3029 into donut
Android (Google) Code Review [Wed, 3 Jun 2009 17:05:59 +0000]
Merge change 3029 into donut

* changes:
  Remove c++ comments and fix faulty regex.

9 years agoRemove c++ comments and fix faulty regex.
Satish Sampath [Wed, 3 Jun 2009 14:26:05 +0000]
Remove c++ comments and fix faulty regex.

- The regex to search for the pattern ' name =' or ' name=' was broken
and fixed in this change.
- Also added ability to look for c++ style // comments in each line and
if present remove them before parsing the rest of the data.
- Also added ability to detect '@' and '?' at the beginning of a string
and inject a backslash before them, so that the aapt tool compiles
them properly without thinking that they are references to other

9 years agoFix build break due to invalid XML format.
Satish Sampath [Wed, 3 Jun 2009 15:06:03 +0000]
Fix build break due to invalid XML format.

9 years agoMerge change 3027 into donut
Android (Google) Code Review [Wed, 3 Jun 2009 14:21:38 +0000]
Merge change 3027 into donut

* changes:
  Add web search metadata for all supported locales.

9 years agoAdd web search metadata for all supported locales.
Satish Sampath [Wed, 3 Jun 2009 14:12:02 +0000]
Add web search metadata for all supported locales.

The list of locales was obtained using the command
  find . -name "*.mk" -exec grep -H PRODUCT_LOCALES {} \;
and for each locale we ran
  tools/get_search_engines.py <locale>

9 years agoUse a magnifying glass icon for third party web suggestions
Satish Sampath [Wed, 3 Jun 2009 12:30:11 +0000]
Use a magnifying glass icon for third party web suggestions

9 years agoSets up default web search intent action handler on boot.
Satish Sampath [Tue, 2 Jun 2009 14:02:26 +0000]
Sets up default web search intent action handler on boot.

On boot, typically there will be multiple activities registered to handle intent action WEB_SEARCH. We make the WebSearchProvider receive the boot completed broadcast message and in that event check our list of known web search providers ordered by priority and set the highest priority one found as the preferred activity.

9 years agoAdds tools for generating web search provider metadata.
Satish Sampath [Mon, 25 May 2009 14:28:48 +0000]
Adds tools for generating web search provider metadata.

The tools consist of a python script and a resource file template. The script downloads a specific source file from the public Chrome source code repository and parses it to retrieve the search engine provider data for the specified locale. It then writes out any new search engine metadata to an existing file under values/all_search_engines.xml and creates locale specific list of search engines in the file res/<values-lang-rRegion>/search_engines.xml (based on the template in this patch).

9 years agoRemoves a log message printing out the suggest URI.
Satish Sampath [Wed, 27 May 2009 16:37:31 +0000]
Removes a log message printing out the suggest URI.

This was being done on each keystroke/query which was unnecessary, and it was also causing a crash when a search engine in the list only supported searches and not suggest.

9 years agoAdds third party web search & suggest providers.
Satish Sampath [Thu, 21 May 2009 13:09:22 +0000]
Adds third party web search & suggest providers.
The XML files under res/ will be automatically generated with a script in a subsequent change.
The design is documented in the 'Design' section of https://docs.google.com/a/google.com/Doc?docid=0AUpt8mrQCqRkZGdnOGtmZzJfNWRwbXJndDc1

9 years agoBranching SuggestionProvider.java from package GoogleSearch
Satish Sampath [Thu, 21 May 2009 11:02:06 +0000]
Branching SuggestionProvider.java from package GoogleSearch
We'll be using this as the base for adding web search suggestions from third party search engines which implement the OpenSearch standard.

9 years agonew project, first commit
The Android Open Source Project [Wed, 20 May 2009 23:49:37 +0000]
new project, first commit