Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b307ceb4 authored by Jean-Baptiste Queru's avatar Jean-Baptiste Queru Committed by android code review
Browse files

Merge "SearchWidget: passing APP_DATA to voice intent"

parents 0dab1a19 1bcfe841
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -1506,6 +1506,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