Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 96c87e2f authored by Elliott Hughes's avatar Elliott Hughes
Browse files

Fix build.

TimeZones was renamed to the more accurate TimeZoneNames.

Change-Id: Ia44bc852cd7f65466a97e815e3289a61ee22cb0f
parent de707749
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -31,7 +31,7 @@ import android.telephony.Rlog;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Locale;
import libcore.icu.TimeZones;
import libcore.icu.TimeZoneNames;

/**
 * Mobile Country Code
@@ -105,7 +105,7 @@ public final class MccTable
            } else {
                locale = new Locale(entry.language, entry.iso);
            }
            String[] tz = TimeZones.forLocale(locale);
            String[] tz = TimeZoneNames.forLocale(locale);
            if (tz.length == 0) return null;
            return tz[0];
        }