Merge "Null locale causing the VTS fail." am: 179f30a443
am: 9568191633
Change-Id: Iab284dfc831a9079e339c8c23fba8f3e7e4ec04d
This commit is contained in:
@@ -147,6 +147,9 @@ public final class AccessibilityIterators {
|
||||
@Override
|
||||
public void onConfigurationChanged(Configuration globalConfig) {
|
||||
final Locale locale = globalConfig.getLocales().get(0);
|
||||
if (locale == null) {
|
||||
return;
|
||||
}
|
||||
if (!mLocale.equals(locale)) {
|
||||
mLocale = locale;
|
||||
onLocaleChanged(locale);
|
||||
|
||||
Reference in New Issue
Block a user