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

Commit 7a995c3f authored by Steve Kondik's avatar Steve Kondik Committed by Gerrit Code Review
Browse files

Merge "SearchWidget: passing APP_DATA to voice intent (from ics)" into jellybean

parents a42361d1 68c23d4c
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(this.mAppSearchData != null) {
            queryExtras.putParcelable(SearchManager.APP_DATA, this.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