mirror of
https://github.com/xoureldeen/Vectras-VM-Android.git
synced 2026-04-28 22:39:50 +00:00
3.7.6
- Bugs fixed.
This commit is contained in:
parent
362cc9b46a
commit
5deba60382
7 changed files with 47 additions and 66 deletions
|
|
@ -462,7 +462,12 @@ public class X11Activity extends AppCompatActivity implements View.OnApplyWindow
|
|||
dialog.dismiss();
|
||||
});
|
||||
|
||||
if (!isFinishing() && !isDestroyed()) dialog.show();
|
||||
if (!isFinishing()
|
||||
&& !isDestroyed()
|
||||
&& getWindow() != null
|
||||
&& getWindow().getDecorView().isShown()) {
|
||||
dialog.show();
|
||||
}
|
||||
});
|
||||
|
||||
upGameBtn.setOnTouchListener((v, event) -> {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue