mirror of
https://github.com/geometer/FBReaderJ.git
synced 2025-10-05 10:49:24 +02:00
unused code has been removed
git-svn-id: https://only.mawhrin.net/repos/FBReaderJ/trunk@1764 6a642e6f-84f6-412e-ac94-c4a38d5a04b0
This commit is contained in:
parent
22ee76a65d
commit
f40cc77e3c
2 changed files with 0 additions and 23 deletions
|
@ -64,23 +64,6 @@ public final class ZLAndroidApplicationWindow extends ZLApplicationWindow {
|
|||
}
|
||||
}
|
||||
|
||||
private class MenuUpdater extends ZLApplication.MenuVisitor {
|
||||
private int myItemCount = Menu.FIRST;
|
||||
private Menu myRoot;
|
||||
|
||||
private MenuUpdater(Menu menu) {
|
||||
myRoot = menu;
|
||||
}
|
||||
protected void processSubmenuBeforeItems(ZLApplication.Menubar.Submenu submenu) {
|
||||
}
|
||||
protected void processSubmenuAfterItems(ZLApplication.Menubar.Submenu submenu) {
|
||||
}
|
||||
protected void processItem(ZLApplication.Menubar.PlainItem item) {
|
||||
MenuItem menuItem = myRoot.findItem(myItemCount++);
|
||||
menuItem.setTitle(item.getTitle());
|
||||
}
|
||||
}
|
||||
|
||||
private final MenuItem.OnMenuItemClickListener myMenuListener =
|
||||
new MenuItem.OnMenuItemClickListener() {
|
||||
public boolean onMenuItemClick(MenuItem item) {
|
||||
|
|
|
@ -149,12 +149,6 @@ public abstract class ZLAndroidActivity extends Activity {
|
|||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean onPrepareOptionsMenu(final Menu menu) {
|
||||
super.onPrepareOptionsMenu(menu);
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean onKeyDown(int keyCode, KeyEvent event) {
|
||||
View view = findViewById(R.id.main_view);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue