commit | ba34422241add512a295064619e91cd12d03c80f | [log] [tgz] |
---|---|---|
author | Bai Tao <michaelbai@google.com> | Wed Jul 28 17:50:23 2010 -0700 |
committer | Bai Tao <michaelbai@google.com> | Wed Jul 28 18:32:13 2010 -0700 |
tree | 888fd9222bae0ddbd9c34414a2b0c3701af124a5 | |
parent | d3f1e3128b709d7d9a0229f1d1843f015f4977ba [diff] [blame] |
Format the number by the convention of the country the user is in Change-Id: I1d44e4cfebcd983585c4b9d0ba57bb4a5849a25d
diff --git a/src/com/android/contacts/TwelveKeyDialer.java b/src/com/android/contacts/TwelveKeyDialer.java index bb4f496..5feecfc 100644 --- a/src/com/android/contacts/TwelveKeyDialer.java +++ b/src/com/android/contacts/TwelveKeyDialer.java
@@ -268,7 +268,8 @@ } protected void maybeAddNumberFormatting() { - mDigits.addTextChangedListener(new PhoneNumberFormattingTextWatcher()); + mDigits.addTextChangedListener( + new PhoneNumberFormattingTextWatcher(ContactsUtils.getCurrentCountryIso(this))); } /**