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

Commit 61e063c3 authored by Ashwini Oruganti's avatar Ashwini Oruganti
Browse files

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
parent c70f1a8a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);