Add log for user language selection

Bug: N/A
Change-Id: I74ff19816705ca5a822e84bda0917d0eced25b7b
This commit is contained in:
Calvin Pan
2022-05-13 02:27:27 +00:00
parent 98fa9deb4a
commit 4d7776de7b

View File

@@ -118,6 +118,7 @@ public class AppLocalePickerActivity extends SettingsBaseActivity
/** Sets the app's locale to the supplied language tag */ /** Sets the app's locale to the supplied language tag */
private void setAppDefaultLocale(String languageTag) { private void setAppDefaultLocale(String languageTag) {
Log.d(TAG, "setAppDefaultLocale: " + languageTag);
LocaleManager localeManager = mContextAsUser.getSystemService(LocaleManager.class); LocaleManager localeManager = mContextAsUser.getSystemService(LocaleManager.class);
if (localeManager == null) { if (localeManager == null) {
Log.w(TAG, "LocaleManager is null, cannot set default app locale"); Log.w(TAG, "LocaleManager is null, cannot set default app locale");