Merge "Null locale causing the VTS fail."

am: 179f30a443

Change-Id: I8ae92392e70c046194df1c8ebee0bd32ed9513cf
This commit is contained in:
Manpreet
2019-01-06 20:30:46 -08:00
committed by android-build-merger

View File

@@ -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);