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

Commit afc61fcf authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Add FLAG_IMMUTABLE to PendingIntents" am: 766bd4ce am: 82714720 am:...

Merge "Add FLAG_IMMUTABLE to PendingIntents" am: 766bd4ce am: 82714720 am: 06d758da am: d4ac54b9

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2230254



Change-Id: I71a6d01d51234db8f449a952f72f7aa64ca51de0
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents c031c0fe d4ac54b9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -110,7 +110,7 @@ public class FixVibrateSetting extends Activity implements View.OnClickListener

    private void test() {
        Intent intent = new Intent(this, FixVibrateSetting.class);
        PendingIntent pending = PendingIntent.getActivity(this, 0, intent, 0);
        PendingIntent pending = PendingIntent.getActivity(this, 0, intent, PendingIntent.FLAG_IMMUTABLE);

        Notification n = new Notification.Builder(this)
                .setSmallIcon(R.drawable.stat_sys_warning)