diff options
author | Yorke Lee <yorkelee@google.com> | 2013-11-19 15:07:59 -0800 |
---|---|---|
committer | Yorke Lee <yorkelee@google.com> | 2013-11-19 15:07:59 -0800 |
commit | c910512a7a8a4eeb402acf84c450af7cb51c548c (patch) | |
tree | db090c38ec9a7c63d81f12268a85211c548dff52 | |
parent | 21d991ee8bab6e2ef7d9df0b268b39053b21cf5b (diff) |
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
-rw-r--r-- | src/com/android/dialer/list/DialerPhoneNumberListAdapter.java | 2 |
1 files changed, 1 insertions, 1 deletions
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); } } |