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

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

Merge "NotificationHistoryDatabase: Mark unaudited PendingIntents with FLAG_MUTABLE_UNAUDITED"

parents 974db350 e9a0187c
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -293,7 +293,9 @@ public class NotificationHistoryDatabase {
                                .appendPath(file.getAbsolutePath()).build())
                        .addFlags(Intent.FLAG_RECEIVER_FOREGROUND)
                        .putExtra(EXTRA_KEY, file.getAbsolutePath()),
                PendingIntent.FLAG_UPDATE_CURRENT);
                // TODO(b/174161800) Please replace FLAG_MUTABLE_UNAUDITED below
                // with either FLAG_IMMUTABLE (recommended) or FLAG_MUTABLE.
                PendingIntent.FLAG_UPDATE_CURRENT | PendingIntent.FLAG_MUTABLE_UNAUDITED);
        mAlarmManager.setExactAndAllowWhileIdle(AlarmManager.RTC_WAKEUP, deletionTime, pi);
    }