diff options
Diffstat (limited to 'java/com/android/dialer/feedback/stub/StubFeedbackModule.java')
-rw-r--r-- | java/com/android/dialer/feedback/stub/StubFeedbackModule.java | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/java/com/android/dialer/feedback/stub/StubFeedbackModule.java b/java/com/android/dialer/feedback/stub/StubFeedbackModule.java index 61ee413ce..49df09a04 100644 --- a/java/com/android/dialer/feedback/stub/StubFeedbackModule.java +++ b/java/com/android/dialer/feedback/stub/StubFeedbackModule.java @@ -18,7 +18,11 @@ package com.android.dialer.feedback.stub; import android.content.Context; import com.android.dialer.common.LogUtil; +import com.android.dialer.feedback.FeedbackSender; import com.android.dialer.inject.ApplicationContext; +import com.android.dialer.logging.LoggingBindings; +import com.android.dialer.logging.LoggingBindingsFactory; +import com.android.dialer.logging.LoggingBindingsStub; import com.android.incallui.call.CallList; import dagger.Module; import dagger.Provides; @@ -28,6 +32,17 @@ import dagger.Provides; public class StubFeedbackModule { @Provides + static LoggingBindings provideLoggingBindings(LoggingBindingsFactory factory) { + return new LoggingBindingsStub(); + } + + @Provides + static FeedbackSender provideCallFeedbackSender() { + LogUtil.i("StubFeedbackModule.provideCallFeedbackSender", "return stub"); + return new FeedbackSenderStub(); + } + + @Provides static CallList.Listener provideCallFeedbackListener(@ApplicationContext Context context) { LogUtil.i("StubFeedbackModule.provideCallFeedbackListener", "returning stub"); return new CallFeedbackListenerStub(context); |