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

Commit 36118363 authored by Ashwini Oruganti's avatar Ashwini Oruganti Committed by Android (Google) Code Review
Browse files

Merge "Add a mutability flag to the PendingIntent in SearchView.java"

parents eac0321f 5d9f5b6f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1695,7 +1695,7 @@ public class SearchView extends LinearLayout implements CollapsibleActionView {
        Intent queryIntent = new Intent(Intent.ACTION_SEARCH);
        queryIntent.setComponent(searchActivity);
        PendingIntent pending = PendingIntent.getActivity(getContext(), 0, queryIntent,
                PendingIntent.FLAG_ONE_SHOT);
                PendingIntent.FLAG_ONE_SHOT | PendingIntent.FLAG_MUTABLE);

        // Now set up the bundle that will be inserted into the pending intent
        // when it's time to do the search.  We always build it here (even if empty)