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

Commit 62cbaba7 authored by Mohammadinamul Sheik's avatar Mohammadinamul Sheik Committed by Android (Google) Code Review
Browse files

Merge "Update the MAX supported file version for downloaded static Dictionaries."

parents 69c04cad 377ba98b
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -172,8 +172,8 @@ public final class FormatSpec {
    public static final int VERSION2 = 2;
    public static final int VERSION201 = 201;
    public static final int VERSION202 = 202;
    // format version for Fava
    public static final int VERSION300 = 300;
    // format version for Fava Dictionaries.
    public static final int VERSION_DELIGHT3 = 86736212;
    public static final int MINIMUM_SUPPORTED_VERSION_OF_CODE_POINT_TABLE = VERSION201;
    // Dictionary version used for testing.
    public static final int VERSION4_ONLY_FOR_TESTING = 399;
@@ -182,7 +182,7 @@ public final class FormatSpec {
    public static final int VERSION4 = VERSION403;
    public static final int VERSION4_DEV = VERSION403;
    public static final int MINIMUM_SUPPORTED_STATIC_VERSION = VERSION202;
    public static final int MAXIMUM_SUPPORTED_STATIC_VERSION = VERSION300;
    public static final int MAXIMUM_SUPPORTED_STATIC_VERSION = VERSION_DELIGHT3;
    static final int MINIMUM_SUPPORTED_DYNAMIC_VERSION = VERSION4;
    static final int MAXIMUM_SUPPORTED_DYNAMIC_VERSION = VERSION4_DEV;

+1 −1
Original line number Diff line number Diff line
@@ -153,7 +153,7 @@ public class DictionaryInfoUtils {
    }

    /**
     * Reverse escaping done by replaceFileNameDangerousCharacters.
     * Reverse escaping done by {@link #replaceFileNameDangerousCharacters(String)}.
     */
    @Nonnull
    public static String getWordListIdFromFileName(@Nonnull final String fname) {