diff --git a/xwords4/android/XWords4/src/org/eehouse/android/xw4/DictLangCache.java b/xwords4/android/XWords4/src/org/eehouse/android/xw4/DictLangCache.java index b4dc446dc..12400f661 100644 --- a/xwords4/android/XWords4/src/org/eehouse/android/xw4/DictLangCache.java +++ b/xwords4/android/XWords4/src/org/eehouse/android/xw4/DictLangCache.java @@ -381,6 +381,14 @@ public class DictLangCache { private static DictInfo getInfo( Context context, DictAndLoc dal ) { DictInfo info = DBUtils.dictsGetInfo( context, dal.name ); + + // Tmp test that recovers from problem with new background download code + if ( null != info && 0 == info.langCode ) { + DbgUtils.logf( "getInfo: dropping info for %s b/c lang code wrong", + dal.name ); + info = null; + } + if ( null == info ) { String[] names = { dal.name }; DictUtils.DictPairs pairs = DictUtils.openDicts( context, names );