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

Commit 856a0d06 authored by Narayan Kamath's avatar Narayan Kamath Committed by Android Git Automerger
Browse files

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

* commit 'eed1fba6':
  Add detailed javadoc for AssetManager.getLocales.
parents 4d9bd151 eed1fba6
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();