diff options
author | Jorge Ruesga <j.ruesga.criado@gmail.com> | 2012-09-03 01:26:59 +0200 |
---|---|---|
committer | Jorge Ruesga <j.ruesga.criado@gmail.com> | 2012-09-03 01:26:59 +0200 |
commit | 1bcfe84179417cda57176fe8661a4a749cb843b6 (patch) | |
tree | a96823aef7e6ee0722e2c99006ad53e696c8ae8a /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | 0dab1a198e19c9993897b031d425a61a3bfec562 (diff) |
SearchWidget: passing APP_DATA to voice intent
SearchView uses SearchManager.APP_DATA to pass data between the origin activity
and the search activity. This works for text searches (keyboard), but it's not
implemented by voice recognition searches. The method createVoiceAppSearchIntent
initializes a empty bundle that is filled with the QUERY parameter.
This patch adds the SearchManager.APP_DATA parameter if is present, let the
search activity access to the data passed by the origin activity
Patch 2: Fix code style
Change-Id: I52dce34e1efd07a30ad74d52bfc60fbae1c4310b
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions