Loading services/tests/uiservicestests/src/com/android/server/notification/NotificationManagerServiceTest.java +1 −0 Original line number Diff line number Diff line Loading @@ -595,6 +595,7 @@ public class NotificationManagerServiceTest extends UiServiceTestCase { .thenReturn(INVALID_TASK_ID); mContext.addMockSystemService(AppOpsManager.class, mock(AppOpsManager.class)); when(mUm.getProfileIds(eq(mUserId), eq(false))).thenReturn(new int[] { mUserId }); when(mAmi.getCurrentUserId()).thenReturn(mUserId); when(mPackageManagerClient.hasSystemFeature(FEATURE_TELECOM)).thenReturn(true); Loading Loading
services/tests/uiservicestests/src/com/android/server/notification/NotificationManagerServiceTest.java +1 −0 Original line number Diff line number Diff line Loading @@ -595,6 +595,7 @@ public class NotificationManagerServiceTest extends UiServiceTestCase { .thenReturn(INVALID_TASK_ID); mContext.addMockSystemService(AppOpsManager.class, mock(AppOpsManager.class)); when(mUm.getProfileIds(eq(mUserId), eq(false))).thenReturn(new int[] { mUserId }); when(mAmi.getCurrentUserId()).thenReturn(mUserId); when(mPackageManagerClient.hasSystemFeature(FEATURE_TELECOM)).thenReturn(true); Loading