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

Commit 4bf26181 authored by Ashwini Oruganti's avatar Ashwini Oruganti
Browse files

NotificationAdjustmentExtractorTest: Mark unaudited PendingIntents with FLAG_MUTABLE_UNAUDITED

These PIs need an explicit mutability flag. This temporay flag is being
used to mark these points in code and should be replaced ASAP.
See go/immutable-pendingintents for more context.

Bug: 160794467
Test: TH
Exempt-From-Owner-Approval: noop change
Change-Id: Ie87153ca5c60df34a302175e6a02b49225f3599f
parent 24e5b93c
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -126,6 +126,7 @@ public class NotificationAdjustmentExtractorTest extends UiServiceTestCase {
        return new Notification.Action.Builder(
                Icon.createWithResource(getContext(), android.R.drawable.sym_def_app_icon),
                "action",
                PendingIntent.getBroadcast(getContext(), 0, new Intent("Action"), 0)).build();
                PendingIntent.getBroadcast(getContext(), 0, new Intent("Action"),
                    PendingIntent.FLAG_MUTABLE_UNAUDITED)).build();
    }
}