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

Commit 8699e310 authored by Gavin Corkery's avatar Gavin Corkery Committed by Android (Google) Code Review
Browse files

Merge "Add immutability flag to PendingIntents" into rvc-qpr-dev-plus-aosp

parents f3fb6b30 281d1502
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -803,7 +803,7 @@ public class BugreportProgressService extends Service {
        intent.setClass(context, BugreportProgressService.class);
        intent.putExtra(EXTRA_ID, info.id);
        return PendingIntent.getService(context, info.id, intent,
                PendingIntent.FLAG_UPDATE_CURRENT);
                PendingIntent.FLAG_UPDATE_CURRENT | PendingIntent.FLAG_IMMUTABLE);
    }

    /**
@@ -1263,7 +1263,7 @@ public class BugreportProgressService extends Service {
                .setTicker(title)
                .setContentText(content)
                .setContentIntent(PendingIntent.getService(mContext, info.id, shareIntent,
                        PendingIntent.FLAG_UPDATE_CURRENT))
                        PendingIntent.FLAG_UPDATE_CURRENT | PendingIntent.FLAG_IMMUTABLE))
                .setOnlyAlertOnce(false)
                .setDeleteIntent(newCancelIntent(mContext, info));