mirror of
https://github.com/AngelAuraMC/Amethyst-Android.git
synced 2025-09-17 16:47:14 -04:00
Hide all handle views when exiting
This commit is contained in:
parent
3c405f962c
commit
f258483d0a
@ -1001,6 +1001,7 @@ public class BaseMainActivity extends LoggableActivity {
|
||||
public void leaveCustomControls() {
|
||||
if(this instanceof MainActivity) {
|
||||
try {
|
||||
((MainActivity) this).mControlLayout.hideAllHandleViews();
|
||||
((MainActivity) this).mControlLayout.loadLayout((CustomControls)null);
|
||||
((MainActivity) this).mControlLayout.setModifiable(false);
|
||||
System.gc();
|
||||
|
Loading…
x
Reference in New Issue
Block a user