summaryrefslogtreecommitdiff
path: root/src/com/android/dialer/service
diff options
context:
space:
mode:
authorQi Wang <wangqi@google.com>2016-04-04 17:35:48 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2016-04-04 17:35:48 +0000
commit4eea2a38be7230f11300d83aea01e6c886ed8986 (patch)
treee6096f5654f16185c9a108b9855534e4d5bbf557 /src/com/android/dialer/service
parentd8eb77f116ba21a4f40fd59d608b2e8bbdf2e09b (diff)
parent4bbb9c8b606eee55462bfd5d96c50d4fbabe819f (diff)
Merge "Integrate spam feature into call logs."
Diffstat (limited to 'src/com/android/dialer/service')
-rw-r--r--src/com/android/dialer/service/ExtendedCallInfoService.java17
1 files changed, 16 insertions, 1 deletions
diff --git a/src/com/android/dialer/service/ExtendedCallInfoService.java b/src/com/android/dialer/service/ExtendedCallInfoService.java
index 33a85f485..412cece74 100644
--- a/src/com/android/dialer/service/ExtendedCallInfoService.java
+++ b/src/com/android/dialer/service/ExtendedCallInfoService.java
@@ -35,7 +35,22 @@ public interface ExtendedCallInfoService {
/**
* Gets extended call information.
* @param number The phone number of the call.
+ * @param countryIso The country ISO of the call.
* @param listener The callback to be invoked after {@code Info} is fetched.
*/
- void getExtendedCallInfo(String number, Listener listener);
+ void getExtendedCallInfo(String number, String countryIso, Listener listener);
+
+ /**
+ * Reports number as spam.
+ * @param number The number to be reported.
+ * @param countryIso The country ISO of the number.
+ */
+ void reportSpam(String number, String countryIso);
+
+ /**
+ * Reports number as not spam.
+ * @param number The number to be reported.
+ * @param countryIso The country ISO of the number.
+ */
+ void reportNotSpam(String number, String countryIso);
}