mirror of
https://github.com/2009scape/2009Scape-mobile.git
synced 2025-12-12 17:40:11 -07:00
[Fabric installer] Crash fix
This commit is contained in:
parent
11df4a1b87
commit
343c0253cb
1 changed files with 4 additions and 2 deletions
|
|
@ -23,7 +23,7 @@ public class JavaGUILauncherActivity extends LoggableActivity {
|
|||
private File logFile;
|
||||
private PrintStream logStream;
|
||||
|
||||
private Object mDialogLock = new Object();
|
||||
private final Object mDialogLock = new Object();
|
||||
|
||||
private boolean isLogAllow, mSkipDetectMod;
|
||||
|
||||
|
|
@ -114,7 +114,9 @@ public class JavaGUILauncherActivity extends LoggableActivity {
|
|||
@Override
|
||||
public void onClick(DialogInterface i, int id) {
|
||||
str.append(editText.getText().toString());
|
||||
mDialogLock.notifyAll();
|
||||
synchronized (mDialogLock) {
|
||||
mDialogLock.notifyAll();
|
||||
}
|
||||
}
|
||||
});
|
||||
d.show();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue