Loading services/tests/uiservicestests/src/com/android/server/notification/NotificationManagerServiceTest.java +1 −0 Original line number Diff line number Diff line Loading @@ -7521,6 +7521,7 @@ public class NotificationManagerServiceTest extends UiServiceTestCase { mService.setHandler(handler); when(mAssistants.isSameUser(any(), anyInt())).thenReturn(true); when(mAssistants.isServiceTokenValidLocked(any())).thenReturn(true); when(mAssistants.isAdjustmentKeyTypeAllowed(anyInt())).thenReturn(true); // Set up notifications that will be adjusted final NotificationRecord r1 = spy(generateNotificationRecord( Loading Loading
services/tests/uiservicestests/src/com/android/server/notification/NotificationManagerServiceTest.java +1 −0 Original line number Diff line number Diff line Loading @@ -7521,6 +7521,7 @@ public class NotificationManagerServiceTest extends UiServiceTestCase { mService.setHandler(handler); when(mAssistants.isSameUser(any(), anyInt())).thenReturn(true); when(mAssistants.isServiceTokenValidLocked(any())).thenReturn(true); when(mAssistants.isAdjustmentKeyTypeAllowed(anyInt())).thenReturn(true); // Set up notifications that will be adjusted final NotificationRecord r1 = spy(generateNotificationRecord( Loading