Loading telephony/java/android/telephony/PhoneNumberFormattingTextWatcher.java +3 −2 Original line number Diff line number Diff line Loading @@ -81,7 +81,7 @@ public class PhoneNumberFormattingTextWatcher implements TextWatcher { * may not take effect on this instance. */ public PhoneNumberFormattingTextWatcher() { this (Locale.getDefault() != null ? Locale.getDefault().getCountry() : "US"); this(Locale.getDefault().getCountry()); } /** Loading @@ -93,6 +93,7 @@ public class PhoneNumberFormattingTextWatcher implements TextWatcher { * @hide */ public PhoneNumberFormattingTextWatcher(String countryCode) { if (countryCode == null) throw new IllegalArgumentException(); mFormatter = PhoneNumberUtil.getInstance().getAsYouTypeFormatter(countryCode); } Loading Loading
telephony/java/android/telephony/PhoneNumberFormattingTextWatcher.java +3 −2 Original line number Diff line number Diff line Loading @@ -81,7 +81,7 @@ public class PhoneNumberFormattingTextWatcher implements TextWatcher { * may not take effect on this instance. */ public PhoneNumberFormattingTextWatcher() { this (Locale.getDefault() != null ? Locale.getDefault().getCountry() : "US"); this(Locale.getDefault().getCountry()); } /** Loading @@ -93,6 +93,7 @@ public class PhoneNumberFormattingTextWatcher implements TextWatcher { * @hide */ public PhoneNumberFormattingTextWatcher(String countryCode) { if (countryCode == null) throw new IllegalArgumentException(); mFormatter = PhoneNumberUtil.getInstance().getAsYouTypeFormatter(countryCode); } Loading