summaryrefslogtreecommitdiff
path: root/java/com/android/dialer/enrichedcall/stub/StubEnrichedCallModule.java
diff options
context:
space:
mode:
Diffstat (limited to 'java/com/android/dialer/enrichedcall/stub/StubEnrichedCallModule.java')
-rw-r--r--java/com/android/dialer/enrichedcall/stub/StubEnrichedCallModule.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/java/com/android/dialer/enrichedcall/stub/StubEnrichedCallModule.java b/java/com/android/dialer/enrichedcall/stub/StubEnrichedCallModule.java
index 6ee1a86a9..93e15790a 100644
--- a/java/com/android/dialer/enrichedcall/stub/StubEnrichedCallModule.java
+++ b/java/com/android/dialer/enrichedcall/stub/StubEnrichedCallModule.java
@@ -18,6 +18,7 @@ package com.android.dialer.enrichedcall.stub;
import com.android.dialer.enrichedcall.EnrichedCallManager;
import com.android.dialer.enrichedcall.RcsVideoShareFactory;
+import com.android.incallui.videotech.empty.EmptyVideoTech;
import dagger.Module;
import dagger.Provides;
import javax.inject.Singleton;
@@ -35,7 +36,7 @@ public class StubEnrichedCallModule {
@Provides
@Singleton
static RcsVideoShareFactory providesRcsVideoShareFactory() {
- return (enrichedCallManager, videoTechListener, number) -> null;
+ return (enrichedCallManager, videoTechListener, number) -> new EmptyVideoTech();
}
private StubEnrichedCallModule() {}