am 4ad4b9d9: Merge "Fix contacts/user dictionary writing."
* commit '4ad4b9d976c4d269a4cce8373b284279b851c90c': Fix contacts/user dictionary writing.main
commit
7b303cf648
|
@ -58,7 +58,7 @@ abstract public class AbstractDictionaryWriter extends Dictionary {
|
|||
final File file = new File(mContext.getFilesDir(), fileName);
|
||||
final File tempFile = new File(mContext.getFilesDir(), tempFileName);
|
||||
try {
|
||||
final DictEncoder dictEncoder = new Ver3DictEncoder(file);
|
||||
final DictEncoder dictEncoder = new Ver3DictEncoder(tempFile);
|
||||
writeDictionary(dictEncoder);
|
||||
tempFile.renameTo(file);
|
||||
} catch (IOException e) {
|
||||
|
|
Loading…
Reference in New Issue