diff options
Diffstat (limited to 'src/com/android/dialer/service')
-rw-r--r-- | src/com/android/dialer/service/ExtendedCallInfoService.java | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/com/android/dialer/service/ExtendedCallInfoService.java b/src/com/android/dialer/service/ExtendedCallInfoService.java index 412cece74..0bf5badd3 100644 --- a/src/com/android/dialer/service/ExtendedCallInfoService.java +++ b/src/com/android/dialer/service/ExtendedCallInfoService.java @@ -44,13 +44,17 @@ public interface ExtendedCallInfoService { * Reports number as spam. * @param number The number to be reported. * @param countryIso The country ISO of the number. + * @param callType Whether the type of call is missed, voicemail, etc. Example of this is + * {@link android.provider.CallLog.Calls#VOICEMAIL_TYPE}. */ - void reportSpam(String number, String countryIso); + void reportSpam(String number, String countryIso, int callType); /** * Reports number as not spam. * @param number The number to be reported. * @param countryIso The country ISO of the number. + * @param callType Whether the type of call is missed, voicemail, etc. Example of this is + * {@link android.provider.CallLog.Calls#VOICEMAIL_TYPE}. */ - void reportNotSpam(String number, String countryIso); + void reportNotSpam(String number, String countryIso, int callType); } |