Merge "NotificationAdjustmentExtractorTest: Mark unaudited PendingIntents with FLAG_MUTABLE_UNAUDITED"

This commit is contained in:
Ashwini Oruganti
2020-12-07 19:41:50 +00:00
committed by Android (Google) Code Review

View File

@@ -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();
}
}