mirror of
https://github.com/2009scape/2009Scape-mobile.git
synced 2025-12-21 09:01:56 -07:00
Various bug fixes
Still trying to fix a fking compile error.
This commit is contained in:
parent
910850a3be
commit
a7667685c5
3 changed files with 8 additions and 2 deletions
|
|
@ -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() {
|
||||||
mActionPopupWindow.show();
|
try {
|
||||||
|
mActionPopupWindow.show();
|
||||||
|
} catch (Throwable th) {
|
||||||
|
th.printStackTrace();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
} else {
|
} else {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue