diff options
author | Jean-Michel Trivi <jmtrivi@google.com> | 2012-04-30 17:39:29 -0700 |
---|---|---|
committer | Jean-Michel Trivi <jmtrivi@google.com> | 2012-05-10 18:42:31 -0700 |
commit | 4294b83927f51e5c115ebaafd2e185ba5de91436 (patch) | |
tree | ab9165af45f4932a95f3e4f976b844216d80c48c /docs/html/sdk/api_diff/14/changes | |
parent | c2e393f86c39e710a06a1d452a410014295fb6e4 (diff) |
Start voice-based interactions from headsethook key
Implement the interception of long-press on keys that
can be used to trigger voice-based interactions (here
only HEADSETHOOK) only if the long-press hasn't been
trapped by the foreground application:
- if the key is not one that is used for voice input, handle
the event as before.
- if the key press wasn't long enough, simulate a delayed
key press.
- if long press is detected, send
RecognizerIntent.ACTION_WEB_SEARCH. Long press duration
is set to 300ms (a typical key press is under 100ms).
Bug 3225090
Change-Id: I5b3adeb91d3c41ccd54d23fdb93d7eaec496eee7
Diffstat (limited to 'docs/html/sdk/api_diff/14/changes')
0 files changed, 0 insertions, 0 deletions