mirror of
https://github.com/2009scape/2009Scape-mobile.git
synced 2025-12-20 21:40:15 -07:00
Hide all handle views when exiting
This commit is contained in:
parent
3c405f962c
commit
f258483d0a
1 changed files with 1 additions and 0 deletions
|
|
@ -1001,6 +1001,7 @@ public class BaseMainActivity extends LoggableActivity {
|
||||||
public void leaveCustomControls() {
|
public void leaveCustomControls() {
|
||||||
if(this instanceof MainActivity) {
|
if(this instanceof MainActivity) {
|
||||||
try {
|
try {
|
||||||
|
((MainActivity) this).mControlLayout.hideAllHandleViews();
|
||||||
((MainActivity) this).mControlLayout.loadLayout((CustomControls)null);
|
((MainActivity) this).mControlLayout.loadLayout((CustomControls)null);
|
||||||
((MainActivity) this).mControlLayout.setModifiable(false);
|
((MainActivity) this).mControlLayout.setModifiable(false);
|
||||||
System.gc();
|
System.gc();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue