summaryrefslogtreecommitdiff
path: root/repackaged/libphonenumber/src/com/android/i18n/phonenumbers/PhoneNumberUtil.java
diff options
context:
space:
mode:
Diffstat (limited to 'repackaged/libphonenumber/src/com/android/i18n/phonenumbers/PhoneNumberUtil.java')
-rw-r--r--repackaged/libphonenumber/src/com/android/i18n/phonenumbers/PhoneNumberUtil.java9
1 files changed, 0 insertions, 9 deletions
diff --git a/repackaged/libphonenumber/src/com/android/i18n/phonenumbers/PhoneNumberUtil.java b/repackaged/libphonenumber/src/com/android/i18n/phonenumbers/PhoneNumberUtil.java
index 82ff6811..e4567ddb 100644
--- a/repackaged/libphonenumber/src/com/android/i18n/phonenumbers/PhoneNumberUtil.java
+++ b/repackaged/libphonenumber/src/com/android/i18n/phonenumbers/PhoneNumberUtil.java
@@ -124,7 +124,6 @@ public class PhoneNumberUtil {
static {
HashMap<Integer, String> mobileTokenMap = new HashMap<Integer, String>();
- mobileTokenMap.put(52, "1");
mobileTokenMap.put(54, "9");
MOBILE_TOKEN_MAPPINGS = Collections.unmodifiableMap(mobileTokenMap);
@@ -1461,14 +1460,6 @@ public class PhoneNumberUtil {
// called within Brazil. Without that, most of the carriers won't connect the call.
// Because of that, we return an empty string here.
: "";
- } else if (isValidNumber && regionCode.equals("HU")) {
- // The national format for HU numbers doesn't contain the national prefix, because that is
- // how numbers are normally written down. However, the national prefix is obligatory when
- // dialing from a mobile phone, except for short numbers. As a result, we add it back here
- // if it is a valid regular length phone number.
- formattedNumber =
- getNddPrefixForRegion(regionCode, true /* strip non-digits */) + " "
- + format(numberNoExt, PhoneNumberFormat.NATIONAL);
} else if (countryCallingCode == NANPA_COUNTRY_CODE) {
// For NANPA countries, we output international format for numbers that can be dialed
// internationally, since that always works, except for numbers which might potentially be