aboutsummaryrefslogtreecommitdiff
path: root/tests/carservice_unit_test/src/com/android/car/user/CarUserNoticeServiceTest.java
diff options
context:
space:
mode:
Diffstat (limited to 'tests/carservice_unit_test/src/com/android/car/user/CarUserNoticeServiceTest.java')
-rw-r--r--tests/carservice_unit_test/src/com/android/car/user/CarUserNoticeServiceTest.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/carservice_unit_test/src/com/android/car/user/CarUserNoticeServiceTest.java b/tests/carservice_unit_test/src/com/android/car/user/CarUserNoticeServiceTest.java
index 412e2b187f..710b64d05d 100644
--- a/tests/carservice_unit_test/src/com/android/car/user/CarUserNoticeServiceTest.java
+++ b/tests/carservice_unit_test/src/com/android/car/user/CarUserNoticeServiceTest.java
@@ -138,7 +138,7 @@ public class CarUserNoticeServiceTest extends AbstractExtendedMockitoCarServiceT
verify(mMockCarUserService).addUserLifecycleListener(
mUserLifecycleListenerArgumentCaptor.capture());
verify(mMockContext).registerReceiver(mDisplayBroadcastReceiver.capture(),
- any(IntentFilter.class));
+ any(IntentFilter.class), anyInt());
verify(mCarPowerManager).setListener(mPowerStateListener.capture());
when(mMockContext.bindServiceAsUser(any(), any(), anyInt(), any())).thenReturn(true);
doAnswer(invocation -> mIsKeyguardLocked)
@@ -154,7 +154,7 @@ public class CarUserNoticeServiceTest extends AbstractExtendedMockitoCarServiceT
CarUserNoticeService otherService = new CarUserNoticeService(mOtherMockContext);
otherService.init();
- verify(mOtherMockContext, never()).registerReceiver(any(), any());
+ verify(mOtherMockContext, never()).registerReceiver(any(), any(), anyInt());
}
@Test