summaryrefslogtreecommitdiffstats
path: root/tests/robotests/src/com/android/car/dialer/livedata/CallDetailLiveDataTest.java
diff options
context:
space:
mode:
Diffstat (limited to 'tests/robotests/src/com/android/car/dialer/livedata/CallDetailLiveDataTest.java')
-rw-r--r--tests/robotests/src/com/android/car/dialer/livedata/CallDetailLiveDataTest.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/robotests/src/com/android/car/dialer/livedata/CallDetailLiveDataTest.java b/tests/robotests/src/com/android/car/dialer/livedata/CallDetailLiveDataTest.java
index 3e3ad7d0..e29251c4 100644
--- a/tests/robotests/src/com/android/car/dialer/livedata/CallDetailLiveDataTest.java
+++ b/tests/robotests/src/com/android/car/dialer/livedata/CallDetailLiveDataTest.java
@@ -66,7 +66,8 @@ public class CallDetailLiveDataTest {
doNothing().when(mMockCall).registerCallback(mCallbackCaptor.capture());
- mCallDetailLiveData = new CallDetailLiveData(mMockCall);
+ mCallDetailLiveData = new CallDetailLiveData();
+ mCallDetailLiveData.setTelecomCall(mMockCall);
mLifecycleRegistry = new LifecycleRegistry(mMockLifecycleOwner);
when(mMockLifecycleOwner.getLifecycle()).thenReturn(mLifecycleRegistry);
}