1
0
Fork 0
mirror of https://github.com/geometer/FBReaderJ.git synced 2025-10-05 02:39:23 +02:00

BookReadingException: handle reading error more accurately

This commit is contained in:
Nikolay Pultsin 2012-03-05 11:11:36 +00:00
parent 2976b4c8fa
commit be37623fcf
33 changed files with 239 additions and 134 deletions

View file

@ -136,8 +136,8 @@ public abstract class DictionaryUtil {
if (ourInfos.isEmpty()) {
final Thread initThread = new Thread(new Runnable() {
public void run() {
new InfoReader().read(ZLFile.createFileByPath("dictionaries/main.xml"));
new ParagonInfoReader(context).read(ZLFile.createFileByPath("dictionaries/paragon.xml"));
new InfoReader().readQuietly(ZLFile.createFileByPath("dictionaries/main.xml"));
new ParagonInfoReader(context).readQuietly(ZLFile.createFileByPath("dictionaries/paragon.xml"));
}
});
initThread.setPriority(Thread.MIN_PRIORITY);