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

Commit 606e6c44 authored by Pinyao Ting's avatar Pinyao Ting
Browse files

PendingIntent for permission slice should be immutable.

Bug: 170769497
Test: manual
Change-Id: I9cfea119ae77327d56fda5513fc30d994ea1e11e
parent 7c200e5b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -519,7 +519,7 @@ public abstract class SliceProvider extends ContentProvider {
        intent.setData(sliceUri.buildUpon().appendQueryParameter("package", callingPackage)
                .build());

        return PendingIntent.getActivity(context, 0, intent, 0);
        return PendingIntent.getActivity(context, 0, intent, PendingIntent.FLAG_IMMUTABLE);
    }

    /**