mirror of
https://github.com/2009scape/2009Scape-mobile.git
synced 2025-12-21 09:01:56 -07:00
Reset log file upon launching MC or a .jar
This commit is contained in:
parent
5b728d051c
commit
a99e081f33
2 changed files with 2 additions and 0 deletions
|
|
@ -61,6 +61,7 @@ public class BaseMainActivity extends BaseActivity {
|
||||||
setContentView(resId);
|
setContentView(resId);
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
Logger.getInstance().reset();
|
||||||
// FIXME: is it safe fot multi thread?
|
// FIXME: is it safe fot multi thread?
|
||||||
GLOBAL_CLIPBOARD = (ClipboardManager) getSystemService(CLIPBOARD_SERVICE);
|
GLOBAL_CLIPBOARD = (ClipboardManager) getSystemService(CLIPBOARD_SERVICE);
|
||||||
touchCharInput = findViewById(R.id.mainTouchCharInput);
|
touchCharInput = findViewById(R.id.mainTouchCharInput);
|
||||||
|
|
|
||||||
|
|
@ -65,6 +65,7 @@ public class JavaGUILauncherActivity extends BaseActivity implements View.OnTouc
|
||||||
setContentView(R.layout.install_mod);
|
setContentView(R.layout.install_mod);
|
||||||
|
|
||||||
Tools.updateWindowSize(this);
|
Tools.updateWindowSize(this);
|
||||||
|
Logger.getInstance().reset();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
loggerView = findViewById(R.id.launcherLoggerView);
|
loggerView = findViewById(R.id.launcherLoggerView);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue