summaryrefslogtreecommitdiff
path: root/java/com/android/incallui/call/CallList.java
diff options
context:
space:
mode:
Diffstat (limited to 'java/com/android/incallui/call/CallList.java')
-rw-r--r--java/com/android/incallui/call/CallList.java4
1 files changed, 1 insertions, 3 deletions
diff --git a/java/com/android/incallui/call/CallList.java b/java/com/android/incallui/call/CallList.java
index 31afe71db..634a302a2 100644
--- a/java/com/android/incallui/call/CallList.java
+++ b/java/com/android/incallui/call/CallList.java
@@ -150,9 +150,7 @@ public class CallList implements DialerCallDelegate {
if (SpamComponent.get(context).spamSettings().isSpamEnabled()) {
String number = TelecomCallUtil.getNumber(telecomCall);
ListenableFuture<SpamStatus> futureSpamStatus =
- SpamComponent.get(context)
- .spam()
- .checkSpamStatusForInCallUi(number, call.getCountryIso());
+ SpamComponent.get(context).spam().checkSpamStatus(number, call.getCountryIso());
Futures.addCallback(
futureSpamStatus,