Loading packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/NotificationEntryManagerTest.java +4 −1 Original line number Diff line number Diff line Loading @@ -629,7 +629,10 @@ public class NotificationEntryManagerTest extends SysuiTestCase { 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(); // TODO(b/174935104) Please replace FLAG_MUTABLE_UNAUDITED below // with either FLAG_IMMUTABLE (recommended) or FLAG_MUTABLE. PendingIntent.getBroadcast(getContext(), 0, new Intent("Action"), PendingIntent.FLAG_MUTABLE_UNAUDITED)).build(); } private static class FakeNotificationLifetimeExtender implements NotificationLifetimeExtender { Loading Loading
packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/NotificationEntryManagerTest.java +4 −1 Original line number Diff line number Diff line Loading @@ -629,7 +629,10 @@ public class NotificationEntryManagerTest extends SysuiTestCase { 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(); // TODO(b/174935104) Please replace FLAG_MUTABLE_UNAUDITED below // with either FLAG_IMMUTABLE (recommended) or FLAG_MUTABLE. PendingIntent.getBroadcast(getContext(), 0, new Intent("Action"), PendingIntent.FLAG_MUTABLE_UNAUDITED)).build(); } private static class FakeNotificationLifetimeExtender implements NotificationLifetimeExtender { Loading