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

Commit fb39e67a authored by Ashwini Oruganti's avatar Ashwini Oruganti Committed by Android (Google) Code Review
Browse files

Merge "BatteryStateNotifier: Update PendingIntent flag"

parents 55909fb1 a3a5d351
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -56,7 +56,8 @@ class BatteryStateNotifier @Inject constructor(

            val intent = Intent(Intent.ACTION_VIEW,
                    Uri.parse(context.getString(R.string.config_batteryStateUnknownUrl)))
            val pi = PendingIntent.getActivity(context, 0, intent, 0)
            val pi = PendingIntent.getActivity(context, 0, intent,
                    PendingIntent.FLAG_IMMUTABLE)

            val builder = Notification.Builder(context, channel.id)
                    .setAutoCancel(false)