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

Commit 445aba98 authored by Victor Chang's avatar Victor Chang
Browse files

Deprecate the use of ICU.addLikelySubtags

Bug: 124232146
Test: m droid
Merged-In: I25ad003c70b5028942d50d8e83d1cc62ee74d31b
Change-Id: I25ad003c70b5028942d50d8e83d1cc62ee74d31b
(cherry picked from commit 57e23f19)
parent de2c57a9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -208,7 +208,7 @@ public class LocaleHelper {
     * @return the maximized Locale instance.
     */
    public static Locale addLikelySubtags(Locale locale) {
        return libcore.icu.ICU.addLikelySubtags(locale);
        return ULocale.addLikelySubtags(ULocale.forLocale(locale)).toLocale();
    }

    /**