diff options
| author | Ashwini Oruganti <ashfall@google.com> | 2020-10-16 22:36:28 +0000 |
|---|---|---|
| committer | Android (Google) Code Review <android-gerrit@google.com> | 2020-10-16 22:36:28 +0000 |
| commit | 361183631af6af920f2caaa661b3557914ebdd94 (patch) | |
| tree | 9a53f2d91c92d87500682797f4b977895c539166 /core/java | |
| parent | eac0321ff317049f020a9f48d07742b8cce99be2 (diff) | |
| parent | 5d9f5b6faa7943e08003e3f6cbf8d06232f948f6 (diff) | |
Merge "Add a mutability flag to the PendingIntent in SearchView.java"
Diffstat (limited to 'core/java')
| -rwxr-xr-x | core/java/android/widget/SearchView.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/java/android/widget/SearchView.java b/core/java/android/widget/SearchView.java index 2eadb56c0f36..b8a324931f86 100755 --- a/core/java/android/widget/SearchView.java +++ b/core/java/android/widget/SearchView.java @@ -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) |
