diff options
Diffstat (limited to 'java/com/android/dialer/spam/SpamStub.java')
-rw-r--r-- | java/com/android/dialer/spam/SpamStub.java | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/java/com/android/dialer/spam/SpamStub.java b/java/com/android/dialer/spam/SpamStub.java index 15d9d7649..39b05fc58 100644 --- a/java/com/android/dialer/spam/SpamStub.java +++ b/java/com/android/dialer/spam/SpamStub.java @@ -16,6 +16,8 @@ package com.android.dialer.spam; +import android.content.Context; +import android.content.Intent; import com.android.dialer.DialerPhoneNumber; import com.android.dialer.common.concurrent.Annotations.BackgroundExecutor; import com.android.dialer.logging.ContactLookupResult; @@ -50,6 +52,11 @@ public class SpamStub implements Spam { } @Override + public boolean isSpamBlockingAvailable() { + return false; + } + + @Override public boolean isSpamBlockingEnabled() { return false; } @@ -161,4 +168,14 @@ public class SpamStub implements Spam { int callType, ReportingLocation.Type from, ContactSource.Type contactSourceType) {} + + @Override + public void modifySpamBlockingSetting(boolean enabled, ModifySettingListener listener) { + listener.onComplete(false); + } + + @Override + public Intent getSpamBlockingSettingIntent(Context context) { + return new Intent(); + } } |