fixed dictionary loading time wrongly displayed as -0.0s, when loading more than one language at a time
This commit is contained in:
parent
2b01f8528a
commit
1ccfc76dfa
1 changed files with 2 additions and 1 deletions
|
|
@ -94,6 +94,8 @@ public class DictionaryLoader {
|
|||
importAll(context, lang);
|
||||
currentFile++;
|
||||
}
|
||||
|
||||
Timer.stop(IMPORT_TIMER);
|
||||
}
|
||||
};
|
||||
|
||||
|
|
@ -200,7 +202,6 @@ public class DictionaryLoader {
|
|||
|
||||
sqlite.finishTransaction();
|
||||
SlowQueryStats.clear();
|
||||
Timer.stop(IMPORT_TIMER);
|
||||
} catch (DictionaryImportAbortedException e) {
|
||||
sqlite.failTransaction();
|
||||
stop();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue