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

Commit 618c64f6 authored by Matt Pietal's avatar Matt Pietal
Browse files

Make pendingintent use immutable flag

It will be required for S+ that every PendingIntent be declared
mutable or immutable.

Fixes: 173742612
Test: manual
Change-Id: Ib6ec27dfb32edbc3156e65d0485b4714490d3020
parent 676369c4
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -478,7 +478,7 @@ class ControlsControllerImpl @Inject constructor (
        val pendingIntent = PendingIntent.getActivity(context,
                componentName.hashCode(),
                intent,
                0)
                PendingIntent.FLAG_IMMUTABLE)
        val control = Control.StatelessBuilder(controlInfo.controlId, pendingIntent)
                .setTitle(controlInfo.controlTitle)
                .setSubtitle(controlInfo.controlSubtitle)