From 4f78f85ab36dd157bb47799f383ceb90240f91f9 Mon Sep 17 00:00:00 2001 From: Qi Wang Date: Mon, 4 Apr 2016 12:32:06 -0700 Subject: Add dialogs for spam report and block. Screenshots: 1. block/report spam https://screenshot.googleplex.com/5e772Kikikw 2. block https://screenshot.googleplex.com/AEpYSYoL2E8 3. unblock(is spam and report not a spam) https://screenshot.googleplex.com/AEZfhCXj4h8 4. unblock(not spam) https://screenshot.googleplex.com/r7YkHuCMT1p 5. report not spam https://screenshot.googleplex.com/jkcpm0pdKoj Change-Id: I78fbbacece44632614026c03909289995bef5b14 Fix: 27295785 --- src/com/android/dialer/service/ExtendedCallInfoService.java | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'src/com/android/dialer/service/ExtendedCallInfoService.java') 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); } -- cgit v1.2.3