diff options
author | Treehugger Robot <treehugger-gerrit@google.com> | 2018-04-05 20:38:55 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2018-04-05 20:38:55 +0000 |
commit | bfc71588585b05f7e4e04fa5447beb5123dc244a (patch) | |
tree | abac8e5313cbb2d23e040af4a9b24997c1ca6ad0 /java/com/android/incallui/speakeasy/StubSpeakEasyModule.java | |
parent | e06977fa96483604321ebdee0b98664d0e00260b (diff) | |
parent | 35a913ffd9055f184e4ae05d53cb3856d7e10752 (diff) |
Merge "Add settings fragment boilerplate."
Diffstat (limited to 'java/com/android/incallui/speakeasy/StubSpeakEasyModule.java')
-rw-r--r-- | java/com/android/incallui/speakeasy/StubSpeakEasyModule.java | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/java/com/android/incallui/speakeasy/StubSpeakEasyModule.java b/java/com/android/incallui/speakeasy/StubSpeakEasyModule.java index 713ce2b44..960692b20 100644 --- a/java/com/android/incallui/speakeasy/StubSpeakEasyModule.java +++ b/java/com/android/incallui/speakeasy/StubSpeakEasyModule.java @@ -16,8 +16,11 @@ package com.android.incallui.speakeasy; +import android.support.v4.app.Fragment; +import com.google.common.base.Optional; import dagger.Binds; import dagger.Module; +import dagger.Provides; /** Module which binds {@link SpeakEasyCallManagerStub}. */ @Module @@ -25,4 +28,9 @@ public abstract class StubSpeakEasyModule { @Binds abstract SpeakEasyCallManager bindsSpeakEasy(SpeakEasyCallManagerStub stub); + + @Provides + static Optional<Fragment> provideSpeakEasySettingsFragment() { + return Optional.absent(); + } } |