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

Commit 81d97eec authored by Yuichiro Hanada's avatar Yuichiro Hanada
Browse files

Move constants and comments.

Change-Id: Ifd66bda7d528827ba61c60531121ea206a2325be
parent 18fc3bf4
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -17,6 +17,7 @@
package com.android.inputmethod.latin;

import com.android.inputmethod.latin.makedict.BinaryDictInputOutput;
import com.android.inputmethod.latin.makedict.FormatSpec;

import android.content.Context;
import android.content.SharedPreferences;
@@ -359,7 +360,7 @@ class BinaryDictionaryGetter {
            final ByteBuffer buffer = inStream.getChannel().map(
                    FileChannel.MapMode.READ_ONLY, 0, f.length());
            final int magic = buffer.getInt();
            if (magic != BinaryDictInputOutput.VERSION_2_MAGIC_NUMBER) {
            if (magic != FormatSpec.VERSION_2_MAGIC_NUMBER) {
                return false;
            }
            final int formatVersion = buffer.getInt();