Add a trace.
Emit a trace when a new dictionary is copied to LatinIME successfully, not just when it fails. That will help diagnosing some problems by being able to ensure this step succeeded looking at the log. This does not happen often (like, maybe 3 times at device activation, and once every few weeks afterwards), so I think the extra line in the log is more than acceptable. Change-Id: I1674bc22d950a7be801076c5aa7e8bbebccab14b
This commit is contained in:
parent
9aa1efdf46
commit
cb13d11c0a
1 changed files with 1 additions and 0 deletions
|
@ -308,6 +308,7 @@ public final class BinaryDictionaryFileDumper {
|
|||
Log.e(TAG, "Could not have the dictionary pack delete a word list");
|
||||
}
|
||||
BinaryDictionaryGetter.removeFilesWithIdExcept(context, wordlistId, finalFile);
|
||||
Log.e(TAG, "Successfully copied file for wordlist ID " + wordlistId);
|
||||
// Success! Close files (through the finally{} clause) and return.
|
||||
return;
|
||||
} catch (Exception e) {
|
||||
|
|
Loading…
Reference in a new issue