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:
parent
2976b4c8fa
commit
be37623fcf
33 changed files with 239 additions and 134 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue