1
0
Fork 0
mirror of https://github.com/geometer/FBReaderJ.git synced 2025-10-06 03:50:19 +02:00

library activity has been moved to a separate process

This commit is contained in:
Nikolay Pultsin 2010-11-14 14:58:09 +00:00
parent 2b4a247c1f
commit 95c96af494
8 changed files with 33 additions and 21 deletions

View file

@ -82,6 +82,10 @@ public class LibraryTabActivity extends TabActivity implements MenuItem.OnMenuIt
Thread.setDefaultUncaughtExceptionHandler(new org.geometerplus.zlibrary.ui.android.library.UncaughtExceptionHandler(this));
if (SQLiteBooksDatabase.Instance() == null) {
new SQLiteBooksDatabase("LIBRARY");
}
if (myLibrary == null) {
myLibrary = new Library();
}