mirror of
https://github.com/2009scape/2009Scape-mobile.git
synced 2025-12-19 21:10:11 -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() {
|
||||
if(this instanceof MainActivity) {
|
||||
try {
|
||||
((MainActivity) this).mControlLayout.hideAllHandleViews();
|
||||
((MainActivity) this).mControlLayout.loadLayout((CustomControls)null);
|
||||
((MainActivity) this).mControlLayout.setModifiable(false);
|
||||
System.gc();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue