Merge "Add log for user language selection" into tm-dev am: a264bc2092
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/18350149 Change-Id: Ib3b7384ef24e151db403149b3c23c70b89cb9615 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
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