- Remove crash dumper (unused yet..)
- Fix random crashes on custom controls
This commit is contained in:
khanhduytran0 committed 2020-11-30 19:12:26 +07:00
1 parent a08a0cd46d
commit 4089fa270c
161 files changed
+8 -21782

No files matched your search

@@ -128,6 +128,7 @@ public class PojavLoginActivity extends BaseActivity
if (revokeCount >= 3) {
Toast.makeText(PojavLoginActivity.this, R.string.toast_permission_denied, Toast.LENGTH_LONG).show();
finish();
return 0;
}
requestStoragePermission();
@@ -156,7 +156,12 @@ public class ControlButton extends Button implements OnLongClickListener, OnTouc
if (getParent() != null) {
((ControlLayout) getParent()).hideAllHandleViews();
}
mHandleView.show();
try {
mHandleView.show();
} catch (Throwable th) {
th.printStackTrace();
}
}
}
@@ -39,6 +39,7 @@ public class ControlLayout extends FrameLayout
public void loadLayout(CustomControls controlLayout) {
if (mModifiable) {
hideAllHandleViews();
removeAllViews();
}