Merge "Null locale causing the VTS fail."
am: 179f30a443
Change-Id: I8ae92392e70c046194df1c8ebee0bd32ed9513cf
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