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

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

Merge "SearchWidget: passing APP_DATA to voice intent" into ics

parents d87ceabc 703855e0
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -1432,6 +1432,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