summaryrefslogtreecommitdiffstats
path: root/services/core/java/com/android/server/search
Commit message (Collapse)AuthorAgeFilesLines
* Fix assist for hardware long-pressJorim Jaggi2015-07-081-8/+18
| | | | | | | | | Activating the assistant will now route through SysUI, so we have the logic whether to start an activity or to start a voice interaction session in one single place. Bug: 22201770 Change-Id: I0f4699533aea2a1e595ee25a844434c82f548c01
* Pass an args bundle to launchAssistAction.Tim Kilbourn2015-06-051-2/+3
| | | | | | | | | | In order to track the input device that was used to trigger assist, the input device id is sent as an extra in the assist intent whenever it is available. This is particularly useful on TVs, when an app may want to know whether the input device has a microphone. Bug: 21666123 Change-Id: I0f8c09e2f617606bef481bdff924cb6b9b47dd12
* More work on collecting assist data.Dianne Hackborn2015-03-121-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Optimize parceling of AssistData (which is now renamed to AssistStructure) by pooling duplicated class name strings. Change text associated with a view node to a CharSequence, so styling information comes along. Include global text attributes -- size, colors, etc. Introduce a new AssistContent structure, which allows us to propagate information about the intent and data the activity is looking at. This further allows us to propagate permission grants, so the assistant can dig in to that data. The default implementation propagates the base intent of an activity, so if for example you bring up the assistant while doing a share the assistant itself has the same information and access that was given to the share activity (so it could for example share it in another way if it wanted to). Did some optimization of loading PersistableBundle from xml, to avoid duplicating hash maps and such. Changed how we dispatch ACTION_ASSIST to no longer include the more detailed AssistStructure (and new AssistContent) data when launching; now the example code that intercepts that needs to be sure to ask for assist data when it starts its session. This is more like it will finally be, and allows us to get to the UI more quickly. Change-Id: I88420a55761bf48d34ce3013e81bd96a0e087637
* Remove unused imports in frameworks/base.John Spurlock2015-02-281-1/+0
| | | | Change-Id: I031443de83f93eb57a98863001826671b18f3b17
* Implement issue #17906468: Allow search request to fall back to global searchDianne Hackborn2014-10-091-0/+22
| | | | Change-Id: I04834b2a9f1ec4a68c6a3fed14da2f8dd93b3be7
* Bump up priority of system receiving BOOT_COMPLETED.Dianne Hackborn2014-05-021-2/+3
| | | | Change-Id: I5166f88f11f781914312e867cb653c8ecbefa705
* am 9158825f: Move some system services to separate directoriesAmith Yamasani2013-12-191-2/+0
| | | | | * commit '9158825f9c41869689d6b1786d7c7aa8bdd524ce': Move some system services to separate directories
* Move some system services to separate directoriesAmith Yamasani2013-12-192-0/+743
Refactored the directory structure so that services can be optionally excluded. This is step 1. Will be followed by another change that makes it possible to remove services from the build. Change-Id: Ideacedfd34b5e213217ad3ff4ebb21c4a8e73f85