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

Commit 1866f01c authored by Matt Pietal's avatar Matt Pietal
Browse files

Controls - Fix PendingIntent

Add FLAG_IMMUTABLE!

Fixes: 178428673
Test: manual, launch activity from controls
Change-Id: Id81f859373ba96e8ec82f53085086d3a889849a3
parent 39a146fd
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -73,7 +73,8 @@ class DetailDialog(

            activityView.startActivity(
                    PendingIntent.getActivity(context, 0, launchIntent,
                            PendingIntent.FLAG_UPDATE_CURRENT), null, ActivityOptions.makeBasic())
                            PendingIntent.FLAG_UPDATE_CURRENT or PendingIntent.FLAG_IMMUTABLE),
                    null, ActivityOptions.makeBasic())
        }

        override fun onTaskRemovalStarted(taskId: Int) {