diff --git a/xwords4/android/app/src/main/java/org/eehouse/android/xw4/DictListPreference.java b/xwords4/android/app/src/main/java/org/eehouse/android/xw4/DictListPreference.java index 1f2a2b6d6..a300f4f43 100644 --- a/xwords4/android/app/src/main/java/org/eehouse/android/xw4/DictListPreference.java +++ b/xwords4/android/app/src/main/java/org/eehouse/android/xw4/DictListPreference.java @@ -54,6 +54,9 @@ public class DictListPreference extends XWListPreference { curLang = LocUtils.getString( context, R.string.lang_name_english ); } ISOCode isoCode = DictLangCache.getLangIsoCode( context, curLang ); + if ( null == isoCode ) { // work around crash reported via Play Store + isoCode = Utils.ISO_EN; + } DictUtils.DictAndLoc[] dals = DictUtils.dictList( context ); ArrayList dictEntries = new ArrayList<>();