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

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

Merge "NotificationInterruptStateProviderImplTest: Mark unaudited...

Merge "NotificationInterruptStateProviderImplTest: Mark unaudited PendingIntents with FLAG_MUTABLE_UNAUDITED"
parents d09e29ad 15546b94
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -476,7 +476,10 @@ public class NotificationInterruptStateProviderImplTest extends SysuiTestCase {

    private NotificationEntry createBubble() {
        Notification.BubbleMetadata data = new Notification.BubbleMetadata.Builder(
                PendingIntent.getActivity(mContext, 0, new Intent(), 0),
                // TODO(b/174970399) Please replace FLAG_MUTABLE_UNAUDITED below
                // with either FLAG_IMMUTABLE (recommended) or FLAG_MUTABLE.
                PendingIntent.getActivity(mContext, 0, new Intent(),
                    PendingIntent.FLAG_MUTABLE_UNAUDITED),
                        Icon.createWithResource(mContext.getResources(), R.drawable.android))
                .build();
        Notification n = new Notification.Builder(getContext(), "a")