From c36c492a94bf4321a2dfcd94be0b5bfe773347c9 Mon Sep 17 00:00:00 2001 From: Jay Shrauner Date: Tue, 8 Jan 2013 11:40:32 -0800 Subject: Dedup NANPA numbers Remove redundant call to shouldCollapseWith() and remove ignored return value in collapseWith(). Bug:7519057 Change-Id: I7e01746749d8574dbb596b2e1b09673bf78fa045 --- src/com/android/dialer/interactions/PhoneNumberInteraction.java | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'src/com/android') diff --git a/src/com/android/dialer/interactions/PhoneNumberInteraction.java b/src/com/android/dialer/interactions/PhoneNumberInteraction.java index cb19a1853..365da2684 100644 --- a/src/com/android/dialer/interactions/PhoneNumberInteraction.java +++ b/src/com/android/dialer/interactions/PhoneNumberInteraction.java @@ -115,12 +115,8 @@ public class PhoneNumberInteraction implements OnLoadCompleteListener { } @Override - public boolean collapseWith(PhoneItem phoneItem) { - if (!shouldCollapseWith(phoneItem)) { - return false; - } + public void collapseWith(PhoneItem phoneItem) { // Just keep the number and id we already have. - return true; } @Override -- cgit v1.2.3