Class of android.app · LocaleManager.java · Android's reference
public class LocaleManager
The locales of the system and of the app: the host's locale, and the app's own choice, which lasts while it runs.
public LocaleList getSystemLocales() sourcepublic LocaleList getApplicationLocales() sourcepublic LocaleList getApplicationLocales(String appPackageName) sourcepublic void setApplicationLocales(LocaleList locales) sourceMade from ScarletNX's Sail at 166ad3910f80. The framework is ScarletNX's (GPL-3.0-or-later); the parts that follow the Android Open Source Project's sources (Apache-2.0) say so in their files.