Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c3b15195 authored by Keisuke Kuroyanagi's avatar Keisuke Kuroyanagi
Browse files

Move dict version check to proper place.

Change-Id: I89a5b4fa93153081b4f7a9183619cbe7c9ea01fa
parent 20770f4b
Loading
Loading
Loading
Loading
+9 −9
Original line number Diff line number Diff line
@@ -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);
                    }