am b788556b: am ad17717e: am d3b74b91: am b307ceb4: Merge "SearchWidget: passing APP_DATA to voice intent"
* commit 'b788556bfde48c1f94c46bda4f4b8d576d5cfb81': SearchWidget: passing APP_DATA to voice intent
This commit is contained in:
committed by
Android Git Automerger
commit
5154762443
@@ -1517,6 +1517,9 @@ public class SearchView extends LinearLayout implements CollapsibleActionView {
|
||||
// because the voice search activity will always need to insert "QUERY" into
|
||||
// it anyway.
|
||||
Bundle queryExtras = new Bundle();
|
||||
if (mAppSearchData != null) {
|
||||
queryExtras.putParcelable(SearchManager.APP_DATA, mAppSearchData);
|
||||
}
|
||||
|
||||
// Now build the intent to launch the voice search. Add all necessary
|
||||
// extras to launch the voice recognizer, and then all the necessary extras
|
||||
|
||||
Reference in New Issue
Block a user