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

refactoring: catalog actions have been moved to action package

This commit is contained in:
Nikolay Pultsin 2011-08-20 17:13:54 +01:00
parent 0c11e03a8b
commit 74ccd3850d
19 changed files with 408 additions and 249 deletions

View file

@ -60,9 +60,13 @@ public abstract class BaseActivity extends ListActivity {
}
@Override
protected void onNewIntent(Intent intent) {
protected void onNewIntent(final Intent intent) {
if (OPEN_TREE_ACTION.equals(intent.getAction())) {
init(intent);
runOnUiThread(new Runnable() {
public void run() {
init(intent);
}
});
} else {
super.onNewIntent(intent);
}