Skip to content
Snippets Groups Projects
Commit 7b303cf6 authored by Keisuke Kuroyanagi's avatar Keisuke Kuroyanagi Committed by Android Git Automerger
Browse files

am 4ad4b9d9: Merge "Fix contacts/user dictionary writing."

* commit '4ad4b9d9':
  Fix contacts/user dictionary writing.
parents b4f01d8e 4ad4b9d9
No related branches found
No related tags found
No related merge requests found
...@@ -58,7 +58,7 @@ abstract public class AbstractDictionaryWriter extends Dictionary { ...@@ -58,7 +58,7 @@ abstract public class AbstractDictionaryWriter extends Dictionary {
final File file = new File(mContext.getFilesDir(), fileName); final File file = new File(mContext.getFilesDir(), fileName);
final File tempFile = new File(mContext.getFilesDir(), tempFileName); final File tempFile = new File(mContext.getFilesDir(), tempFileName);
try { try {
final DictEncoder dictEncoder = new Ver3DictEncoder(file); final DictEncoder dictEncoder = new Ver3DictEncoder(tempFile);
writeDictionary(dictEncoder); writeDictionary(dictEncoder);
tempFile.renameTo(file); tempFile.renameTo(file);
} catch (IOException e) { } catch (IOException e) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment