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

Commit eed1fba6 authored by Narayan Kamath's avatar Narayan Kamath Committed by Android (Google) Code Review
Browse files

Merge "Add detailed javadoc for AssetManager.getLocales." into lmp-mr1-dev

parents fef1e0e7 11bce123
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -666,6 +666,14 @@ public final class AssetManager implements AutoCloseable {

    /**
     * Get the locales that this asset manager contains data for.
     *
     * <p>On SDK 21 (Android 5.0: Lollipop) and above, Locale strings are valid
     * <a href="https://tools.ietf.org/html/bcp47">BCP-47</a> language tags and can be
     * parsed using {@link java.util.Locale#forLanguageTag(String)}.
     *
     * <p>On SDK 20 (Android 4.4W: Kitkat for watches) and below, locale strings
     * are of the form {@code ll_CC} where {@code ll} is a two letter language code,
     * and {@code CC} is a two letter country code.
     */
    public native final String[] getLocales();