This commit is contained in:
khanhduytran0 2020-12-18 12:03:26 +07:00
parent 790b211040
commit 9e3fdedaff
3 changed files with 8 additions and 1 deletions

View File

@ -99,6 +99,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;

View File

@ -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");

View File

@ -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 {