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

Commit 54653ba1 authored by Howard Chen's avatar Howard Chen
Browse files

Add a mutability flag to the PendingIntent in DynamicSystemInstallationService

Bug: 171718124
Test: DSU installation
Change-Id: Id352e37238aad6499841dc379b006f2e0150181d
parent e7d24dad
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) {