Loading services/tests/uiservicestests/src/com/android/server/notification/NotificationManagerServiceTest.java +1 −1 Original line number Diff line number Diff line Loading @@ -9273,7 +9273,7 @@ public class NotificationManagerServiceTest extends UiServiceTestCase { int expectedUid = 123; when(mPackageManagerClient.getPackageUidAsUser("target", 0)).thenReturn(expectedUid); when(mPmi.getPackageUid("target", 0, mUserId)).thenReturn(expectedUid); when(mPmi.getPackageUid("target", 0, 0)).thenReturn(expectedUid); // no delegate assertEquals(expectedUid, mService.resolveNotificationUid("android", "target", 0, 0)); Loading Loading
services/tests/uiservicestests/src/com/android/server/notification/NotificationManagerServiceTest.java +1 −1 Original line number Diff line number Diff line Loading @@ -9273,7 +9273,7 @@ public class NotificationManagerServiceTest extends UiServiceTestCase { int expectedUid = 123; when(mPackageManagerClient.getPackageUidAsUser("target", 0)).thenReturn(expectedUid); when(mPmi.getPackageUid("target", 0, mUserId)).thenReturn(expectedUid); when(mPmi.getPackageUid("target", 0, 0)).thenReturn(expectedUid); // no delegate assertEquals(expectedUid, mService.resolveNotificationUid("android", "target", 0, 0)); Loading