Merge "Make pendingintent use immutable flag"

This commit is contained in:
TreeHugger Robot
2020-11-21 00:35:14 +00:00
committed by Android (Google) Code Review

View File

@@ -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)