Fixes for olde CLI builds

This commit is contained in:
Aaron Culliney 2015-09-05 13:48:42 -07:00
parent 3b5f57b0cf
commit d7ae39b2a8
3 changed files with 4 additions and 6 deletions

View File

@ -50,7 +50,7 @@ public class Apple2DisksMenu implements Apple2MenuView {
private Apple2Activity mActivity = null; private Apple2Activity mActivity = null;
private View mDisksView = null; private View mDisksView = null;
private final ArrayList<String> mPathStack = new ArrayList<>(); private final ArrayList<String> mPathStack = new ArrayList<String>();
private static File sExternalFilesDir = null; private static File sExternalFilesDir = null;
private static boolean sInitializedPath = false; private static boolean sInitializedPath = false;

View File

@ -177,7 +177,7 @@ public class Apple2JoystickSettingsMenu extends Apple2AbstractMenu {
@Override @Override
public void handleSelection(Apple2Activity activity, Apple2AbstractMenu settingsMenu, boolean isChecked) { public void handleSelection(Apple2Activity activity, Apple2AbstractMenu settingsMenu, boolean isChecked) {
ArrayList<Apple2MenuView> viewStack = new ArrayList<>(); ArrayList<Apple2MenuView> viewStack = new ArrayList<Apple2MenuView>();
{ {
int idx = 0; int idx = 0;
while (true) { while (true) {

View File

@ -12,8 +12,6 @@
package org.deadc0de.apple2ix; package org.deadc0de.apple2ix;
import android.view.View; import android.view.View;
import android.widget.CheckBox;
import android.widget.CompoundButton;
import android.widget.TextView; import android.widget.TextView;
import java.util.ArrayList; import java.util.ArrayList;
@ -106,7 +104,7 @@ public class Apple2KeypadSettingsMenu extends Apple2AbstractMenu {
@Override @Override
public void handleSelection(Apple2Activity activity, Apple2AbstractMenu settingsMenu, boolean isChecked) { public void handleSelection(Apple2Activity activity, Apple2AbstractMenu settingsMenu, boolean isChecked) {
ArrayList<Apple2MenuView> viewStack = new ArrayList<>(); ArrayList<Apple2MenuView> viewStack = new ArrayList<Apple2MenuView>();
{ {
int idx = 0; int idx = 0;
while (true) { while (true) {
@ -173,7 +171,7 @@ public class Apple2KeypadSettingsMenu extends Apple2AbstractMenu {
// internals // internals
private void chooseKeys(Apple2Activity activity) { private void chooseKeys(Apple2Activity activity) {
ArrayList<Apple2MenuView> viewStack = new ArrayList<>(); ArrayList<Apple2MenuView> viewStack = new ArrayList<Apple2MenuView>();
{ {
int idx = 0; int idx = 0;
while (true) { while (true) {