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

android 1.5-specific code has been removed

This commit is contained in:
Nikolay Pultsin 2011-07-22 18:18:39 +01:00
parent da6b549620
commit 90372fbc97
3 changed files with 0 additions and 10 deletions

View file

@ -76,9 +76,6 @@ public class LibraryActivity extends BaseActivity implements MenuItem.OnMenuItem
} }
final ListAdapter adapter = new LibraryListAdapter(this); final ListAdapter adapter = new LibraryListAdapter(this);
if ("3".equals(new android.os.Build.VERSION().SDK)) {
getWindow().setFeatureInt(Window.FEATURE_PROGRESS, Window.PROGRESS_VISIBILITY_ON);
}
init(getIntent()); init(getIntent());
getListView().setTextFilterEnabled(true); getListView().setTextFilterEnabled(true);

View file

@ -84,10 +84,6 @@ public class NetworkBaseActivity extends BaseActivity implements NetworkView.Eve
setListAdapter(new NetworkLibraryAdapter(this)); setListAdapter(new NetworkLibraryAdapter(this));
init(getIntent()); init(getIntent());
if ("3".equals(new android.os.Build.VERSION().SDK)) {
getWindow().setFeatureInt(Window.FEATURE_PROGRESS, Window.PROGRESS_VISIBILITY_ON);
}
setDefaultKeyMode(DEFAULT_KEYS_SEARCH_LOCAL); setDefaultKeyMode(DEFAULT_KEYS_SEARCH_LOCAL);
setForTree((NetworkTree)getCurrentTree(), this); setForTree((NetworkTree)getCurrentTree(), this);

View file

@ -48,9 +48,6 @@ public abstract class BaseActivity extends ListActivity {
super.onCreate(icicle); super.onCreate(icicle);
Thread.setDefaultUncaughtExceptionHandler(new org.geometerplus.zlibrary.ui.android.library.UncaughtExceptionHandler(this)); Thread.setDefaultUncaughtExceptionHandler(new org.geometerplus.zlibrary.ui.android.library.UncaughtExceptionHandler(this));
requestWindowFeature(Window.FEATURE_INDETERMINATE_PROGRESS); requestWindowFeature(Window.FEATURE_INDETERMINATE_PROGRESS);
if ("3".equals(new android.os.Build.VERSION().SDK)) {
requestWindowFeature(Window.FEATURE_PROGRESS);
}
} }
@Override @Override