summaryrefslogtreecommitdiff
path: root/java/com/android/dialer/spam/Spam.java
diff options
context:
space:
mode:
Diffstat (limited to 'java/com/android/dialer/spam/Spam.java')
-rw-r--r--java/com/android/dialer/spam/Spam.java32
1 files changed, 0 insertions, 32 deletions
diff --git a/java/com/android/dialer/spam/Spam.java b/java/com/android/dialer/spam/Spam.java
index 181a55dea..0229782bf 100644
--- a/java/com/android/dialer/spam/Spam.java
+++ b/java/com/android/dialer/spam/Spam.java
@@ -18,7 +18,6 @@ package com.android.dialer.spam;
import android.preference.Preference;
import android.preference.Preference.OnPreferenceChangeListener;
-import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import com.android.dialer.DialerPhoneNumber;
import com.android.dialer.logging.ContactLookupResult;
@@ -75,30 +74,6 @@ public interface Spam {
ListenableFuture<Void> updateSpamListDownload(boolean isEnabledByUser);
/**
- * @param number The number to check if the number is in the user's white list (non spam list)
- * @param countryIso The country ISO of the call.
- * @param listener The callback to be invoked after {@code Info} is fetched.
- */
- void checkUserMarkedNonSpamStatus(
- String number, @Nullable String countryIso, @NonNull Listener listener);
-
- /**
- * @param number The number to check if it is in user's spam list
- * @param countryIso The country ISO of the call.
- * @param listener The callback to be invoked after {@code Info} is fetched.
- */
- void checkUserMarkedSpamStatus(
- String number, @Nullable String countryIso, @NonNull Listener listener);
-
- /**
- * @param number The number to check if it is in the global spam list
- * @param countryIso The country ISO of the call.
- * @param listener The callback to be invoked after {@code Info} is fetched.
- */
- void checkGlobalSpamListStatus(
- String number, @Nullable String countryIso, @NonNull Listener listener);
-
- /**
* Synchronously checks if the given number is suspected of being a spamer.
*
* @param number The phone number of the call.
@@ -191,11 +166,4 @@ public interface Spam {
int callType,
ReportingLocation.Type from,
ContactSource.Type contactSourceType);
-
- /** Callback to be invoked when data is fetched. */
- interface Listener {
-
- /** Called when data is fetched. */
- void onComplete(boolean isSpam);
- }
}