From c910512a7a8a4eeb402acf84c450af7cb51c548c Mon Sep 17 00:00:00 2001 From: Yorke Lee Date: Tue, 19 Nov 2013 15:07:59 -0800 Subject: Switch convertAndStrip to normalizeNumber normalizeNumber(to be renamed in the future) is a bit stricter about converting the number into a dialable one. Bug: 6948882 Change-Id: I09417822de714beb45664ca4f0916e40013a34bb --- src/com/android/dialer/list/DialerPhoneNumberListAdapter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/com') diff --git a/src/com/android/dialer/list/DialerPhoneNumberListAdapter.java b/src/com/android/dialer/list/DialerPhoneNumberListAdapter.java index 4f3a4dabf..533a13452 100644 --- a/src/com/android/dialer/list/DialerPhoneNumberListAdapter.java +++ b/src/com/android/dialer/list/DialerPhoneNumberListAdapter.java @@ -164,7 +164,7 @@ public class DialerPhoneNumberListAdapter extends PhoneNumberListAdapter { @Override public void setQueryString(String queryString) { mFormattedQueryString = PhoneNumberUtils.formatNumber( - PhoneNumberUtils.convertAndStrip(queryString), mCountryIso); + PhoneNumberUtils.normalizeNumber(queryString), mCountryIso); super.setQueryString(queryString); } } -- cgit v1.2.3