Merge "Modify LocaleManager#setApplicationLocales Javadoc to explicitly mention persistence, and B&R."

This commit is contained in:
Pratyush More
2022-01-19 10:13:12 +00:00
committed by Android (Google) Code Review

View File

@@ -55,6 +55,9 @@ public class LocaleManager {
*
* <p>Pass a {@link LocaleList#getEmptyLocaleList()} to reset to the system locale.
*
* <p><b>Note:</b> The set locales are persisted; they are backed up if the user has enabled
* Backup & Restore.
*
* @param locales the desired locales for the calling app.
*/
@UserHandleAware
@@ -67,6 +70,9 @@ public class LocaleManager {
*
* <p>Pass a {@link LocaleList#getEmptyLocaleList()} to reset to the system locale.
*
* <p><b>Note:</b> The set locales are persisted; they are backed up if the user has enabled
* Backup & Restore.
*
* @param appPackageName the package name of the app for which to set the locales.
* @param locales the desired locales for the specified app.
* @hide