am ac37d4d9: Merge "Move dict version check to proper place."
* commit 'ac37d4d9e381c8fa5262e529594d6b898a8a2e5f': Move dict version check to proper place.main
commit
f134aa78b7
|
@ -528,8 +528,6 @@ abstract public class ExpandableBinaryDictionary extends Dictionary {
|
|||
} else if (mBinaryDictionary == null) {
|
||||
// Otherwise, load the existing dictionary.
|
||||
loadBinaryDictionaryLocked();
|
||||
}
|
||||
mNeedsToReload = false;
|
||||
if (mBinaryDictionary != null && !(isValidDictionaryLocked()
|
||||
// TODO: remove the check below
|
||||
&& matchesExpectedBinaryDictFormatVersionForThisType(
|
||||
|
@ -539,6 +537,8 @@ abstract public class ExpandableBinaryDictionary extends Dictionary {
|
|||
// existing files if appropriate.
|
||||
createNewDictionaryLocked();
|
||||
}
|
||||
}
|
||||
mNeedsToReload = false;
|
||||
} finally {
|
||||
mIsReloading.set(false);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue