Add log for user language selection
Bug: N/A Change-Id: I74ff19816705ca5a822e84bda0917d0eced25b7b
This commit is contained in:
@@ -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");
|
||||||
|
Reference in New Issue
Block a user