diff options
| author | 2020-12-10 02:23:16 -0800 | |
|---|---|---|
| committer | 2021-01-05 17:47:49 +0000 | |
| commit | 61e063c3b2072b962466f720daeb38c0952a6d7b (patch) | |
| tree | c4c2268bcdaea36265c525577153c1f9d1b54b6e | |
| parent | c70f1a8aee056819682001ebd481040d0e99386a (diff) | |
RemoteInputViewTest: Add FLAG_MUTABLE to PIs
Added FLAG_MUTABLE as these are direct reply related
See go/immutable-pendingintents for more context.
Bug: 160794467
Test: TH
Change-Id: I5cb2d7ce62540601eeaeb1ab87e227e467bffb12
| -rw-r--r-- | packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/RemoteInputViewTest.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/RemoteInputViewTest.java b/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/RemoteInputViewTest.java index 4fb85ad1bb4d..a844d099d43a 100644 --- a/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/RemoteInputViewTest.java +++ b/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/RemoteInputViewTest.java @@ -102,7 +102,7 @@ public class RemoteInputViewTest extends SysuiTestCase { private void setTestPendingIntent(RemoteInputView view) { PendingIntent pendingIntent = PendingIntent.getBroadcast(mContext, 0, - new Intent(TEST_ACTION), 0); + new Intent(TEST_ACTION), PendingIntent.FLAG_MUTABLE); RemoteInput input = new RemoteInput.Builder(TEST_RESULT_KEY).build(); view.setPendingIntent(pendingIntent); |