Fix build.
TimeZones was renamed to the more accurate TimeZoneNames.
(cherry-pick of 96c87e2f014207dc5c55f7c8fafd1e666080d784.)
Change-Id: I52f8b3eb6e5183ba486a68820c7c3af3863ffdb5
diff --git a/src/java/com/android/internal/telephony/MccTable.java b/src/java/com/android/internal/telephony/MccTable.java
index 2c5eb52..0839f2d 100644
--- a/src/java/com/android/internal/telephony/MccTable.java
+++ b/src/java/com/android/internal/telephony/MccTable.java
@@ -31,7 +31,7 @@
import java.util.ArrayList;
import java.util.Collections;
import java.util.Locale;
-import libcore.icu.TimeZones;
+import libcore.icu.TimeZoneNames;
/**
* Mobile Country Code
@@ -106,7 +106,7 @@
} else {
locale = new Locale(entry.mLanguage, entry.mIso);
}
- String[] tz = TimeZones.forLocale(locale);
+ String[] tz = TimeZoneNames.forLocale(locale);
if (tz.length == 0) return null;
return tz[0];
}