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

Commit 766bd4ce authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Add FLAG_IMMUTABLE to PendingIntents"

parents 82393b1d 652ac963
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)