diff options
Diffstat (limited to 'java')
-rw-r--r-- | java/com/android/dialer/duo/Duo.java | 3 | ||||
-rw-r--r-- | java/com/android/dialer/duo/stub/DuoStub.java | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/java/com/android/dialer/duo/Duo.java b/java/com/android/dialer/duo/Duo.java index ff694c053..9012dee4f 100644 --- a/java/com/android/dialer/duo/Duo.java +++ b/java/com/android/dialer/duo/Duo.java @@ -27,9 +27,10 @@ import com.google.auto.value.AutoValue; import com.google.common.base.Optional; import java.util.List; +/** Interface for Duo video call integration. */ public interface Duo { - boolean isEnabled(); + boolean isEnabled(@NonNull Context context); /** * @return true if Duo is installed and the user has gone through the set-up flow confirming their diff --git a/java/com/android/dialer/duo/stub/DuoStub.java b/java/com/android/dialer/duo/stub/DuoStub.java index 7cc8f7808..628d6dc27 100644 --- a/java/com/android/dialer/duo/stub/DuoStub.java +++ b/java/com/android/dialer/duo/stub/DuoStub.java @@ -36,7 +36,7 @@ public class DuoStub implements Duo { public DuoStub() {} @Override - public boolean isEnabled() { + public boolean isEnabled(@NonNull Context context) { return false; } |