mirror of
https://github.com/AngelAuraMC/Amethyst-Android.git
synced 2025-09-17 08:35:37 -04:00
Various bug fixes
Still trying to fix a fking compile error.
This commit is contained in:
parent
910850a3be
commit
a7667685c5
@ -36,7 +36,6 @@ public class BaseMainActivity extends LoggableActivity {
|
|||||||
private int fingerStillThreshold = 8;
|
private int fingerStillThreshold = 8;
|
||||||
private int initialX;
|
private int initialX;
|
||||||
private int initialY;
|
private int initialY;
|
||||||
private boolean resuming;
|
|
||||||
private static final int MSG_LEFT_MOUSE_BUTTON_CHECK = 1028;
|
private static final int MSG_LEFT_MOUSE_BUTTON_CHECK = 1028;
|
||||||
private static final int MSG_DROP_ITEM_BUTTON_CHECK = 1029;
|
private static final int MSG_DROP_ITEM_BUTTON_CHECK = 1029;
|
||||||
private static boolean triggeredLeftMouseButton = false;
|
private static boolean triggeredLeftMouseButton = false;
|
||||||
@ -99,6 +98,7 @@ public class BaseMainActivity extends LoggableActivity {
|
|||||||
private LinearLayout contentCanvas;
|
private LinearLayout contentCanvas;
|
||||||
private AWTSurfaceView contentCanvasView;
|
private AWTSurfaceView contentCanvasView;
|
||||||
*/
|
*/
|
||||||
|
private boolean resuming;
|
||||||
private boolean lastEnabled = false;
|
private boolean lastEnabled = false;
|
||||||
private boolean lastGrab = false;
|
private boolean lastGrab = false;
|
||||||
private boolean isExited = false;
|
private boolean isExited = false;
|
||||||
|
@ -298,7 +298,9 @@ public class PojavLoginActivity extends BaseActivity
|
|||||||
}
|
}
|
||||||
|
|
||||||
private void initMain() throws Throwable {
|
private void initMain() throws Throwable {
|
||||||
|
mkdirs(Tools.DIR_ACCOUNT_NEW);
|
||||||
PojavMigrator.migrateAccountData(this);
|
PojavMigrator.migrateAccountData(this);
|
||||||
|
|
||||||
if (!PojavMigrator.migrateGameDir()) {
|
if (!PojavMigrator.migrateGameDir()) {
|
||||||
mkdirs(Tools.DIR_GAME_NEW);
|
mkdirs(Tools.DIR_GAME_NEW);
|
||||||
mkdirs(Tools.DIR_GAME_NEW + "/config");
|
mkdirs(Tools.DIR_GAME_NEW + "/config");
|
||||||
|
@ -196,7 +196,11 @@ public abstract class HandleView extends View implements ViewPositionListener, V
|
|||||||
if (mActionPopupShower == null) {
|
if (mActionPopupShower == null) {
|
||||||
mActionPopupShower = new Runnable() {
|
mActionPopupShower = new Runnable() {
|
||||||
public void run() {
|
public void run() {
|
||||||
|
try {
|
||||||
mActionPopupWindow.show();
|
mActionPopupWindow.show();
|
||||||
|
} catch (Throwable th) {
|
||||||
|
th.printStackTrace();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user