From 919aa5d688297001f0581d35db5e6776b1b86715 Mon Sep 17 00:00:00 2001 From: Pratyush More Date: Fri, 14 Jan 2022 17:38:25 +0000 Subject: [PATCH] Modify LocaleManager#setApplicationLocales Javadoc to explicitly mention persistence, and B&R. Bug: 214016307 Test: Javadoc change only Change-Id: I0caa14bca01e052ecfb93a4f3205f2c284f6d58a --- core/java/android/app/LocaleManager.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/core/java/android/app/LocaleManager.java b/core/java/android/app/LocaleManager.java index 2aa7c8e60236a..2e34febee74bb 100644 --- a/core/java/android/app/LocaleManager.java +++ b/core/java/android/app/LocaleManager.java @@ -55,6 +55,9 @@ public class LocaleManager { * *

Pass a {@link LocaleList#getEmptyLocaleList()} to reset to the system locale. * + *

Note: 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 { * *

Pass a {@link LocaleList#getEmptyLocaleList()} to reset to the system locale. * + *

Note: 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