Skip to content
Snippets Groups Projects
  • Jean Chalard's avatar
    20973de7
    Avoid unnecessary output to the system log. · 20973de7
    Jean Chalard authored
    The message this removes gets printed under normal conditions.
    Normally dictionary files are compressed then crypted, but not
    compressed a second time; however LatinIME tries to open a
    compressed-crypted-compressed file first, because it could not
    do it afterwards and we want to support this case. So under
    normal operations, the first method LatinIME tries is actually
    expected to fail.
    Also, if we decide to stop compressing or/and encrypting dicts
    LatinIME supports it as a valid use case. It should not print
    errors to the log.
    
    If the file cannot be open at all, then it is an unexpected
    case, and Latin IME still reports to the log.
    
    Change-Id: Ic5228c51365a101af1d03e2c893484d3050b5a1c
    20973de7
    History
    Avoid unnecessary output to the system log.
    Jean Chalard authored
    The message this removes gets printed under normal conditions.
    Normally dictionary files are compressed then crypted, but not
    compressed a second time; however LatinIME tries to open a
    compressed-crypted-compressed file first, because it could not
    do it afterwards and we want to support this case. So under
    normal operations, the first method LatinIME tries is actually
    expected to fail.
    Also, if we decide to stop compressing or/and encrypting dicts
    LatinIME supports it as a valid use case. It should not print
    errors to the log.
    
    If the file cannot be open at all, then it is an unexpected
    case, and Latin IME still reports to the log.
    
    Change-Id: Ic5228c51365a101af1d03e2c893484d3050b5a1c