mirror of
https://github.com/2009scape/2009Scape-mobile.git
synced 2025-12-20 05:20:14 -07:00
Remove awt_xawt
This commit is contained in:
parent
6ceac22aff
commit
84d39544ee
49 changed files with 12 additions and 23578 deletions
|
|
@ -837,7 +837,7 @@ public class MainActivity extends AppCompatActivity implements OnTouchListener,
|
|||
private FileObserver mLogObserver;
|
||||
private void runCraft() throws Throwable {
|
||||
if (Tools.LAUNCH_TYPE != Tools.LTYPE_PROCESS) {
|
||||
final File currLogFile = JREUtils.redirectStdio(false);
|
||||
final File currLogFile = JREUtils.redirectStdio(true);
|
||||
// DEPRECATED constructor (String) api 29
|
||||
mLogObserver = new FileObserver(currLogFile.getAbsolutePath(), FileObserver.MODIFY){
|
||||
@Override
|
||||
|
|
@ -848,7 +848,8 @@ public class MainActivity extends AppCompatActivity implements OnTouchListener,
|
|||
Tools.write(file, "");
|
||||
}
|
||||
} catch (Throwable th) {
|
||||
th.printStackTrace();
|
||||
Tools.showError(MainActivity.this, th);
|
||||
mLogObserver.stopWatching();
|
||||
}
|
||||
}
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue