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

Commit 0e0af4cf authored by Howard Chen's avatar Howard Chen Committed by Automerger Merge Worker
Browse files

Merge "Add a mutability flag to the PendingIntent in...

Merge "Add a mutability flag to the PendingIntent in DynamicSystemInstallationService" am: dc0b992c am: 5107e438 am: 46a6aee0

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

Change-Id: I2478335e58a2b63b9cf4dcf1621654cca89cf828
parents f3f345ef 46a6aee0
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -422,7 +422,7 @@ public class DynamicSystemInstallationService extends Service
    private PendingIntent createPendingIntent(String action) {
        Intent intent = new Intent(this, DynamicSystemInstallationService.class);
        intent.setAction(action);
        return PendingIntent.getService(this, 0, intent, 0);
        return PendingIntent.getService(this, 0, intent, PendingIntent.FLAG_IMMUTABLE);
    }

    private Notification buildNotification(int status, int cause) {