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

Commit 8423d20d 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 am: afc61fcf

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



Change-Id: If81661e9c761655997e3a12ccf0f47134a0f8263
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents 339b0ee4 afc61fcf
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)