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

library loading in background

This commit is contained in:
Nikolay Pultsin 2011-07-17 21:39:01 +01:00
parent 9296b9df15
commit f40cb38c0b
5 changed files with 44 additions and 67 deletions

View file

@ -24,8 +24,7 @@ import java.util.ArrayList;
import android.app.ListActivity;
import android.content.Intent;
import android.os.Bundle;
import android.view.KeyEvent;
import android.view.View;
import android.view.*;
import org.geometerplus.android.util.UIUtil;
@ -48,6 +47,7 @@ public abstract class BaseActivity extends ListActivity {
public void onCreate(Bundle icicle) {
super.onCreate(icicle);
Thread.setDefaultUncaughtExceptionHandler(new org.geometerplus.zlibrary.ui.android.library.UncaughtExceptionHandler(this));
requestWindowFeature(Window.FEATURE_INDETERMINATE_PROGRESS);
}
@Override