mirror of
https://github.com/AngelAuraMC/Amethyst-Android.git
synced 2025-09-18 09:07:48 -04:00
Catch an exception
This commit is contained in:
parent
42357626cf
commit
130ea87366
@ -253,7 +253,10 @@ public class MainActivity extends AppCompatActivity implements OnTouchListener,
|
||||
@Override
|
||||
public void onCheckedChanged(CompoundButton button, boolean isChecked)
|
||||
{
|
||||
if (isChecked) Tools.write(currLogFile.getAbsolutePath(), "");
|
||||
try {
|
||||
if (isChecked) Tools.write(currLogFile.getAbsolutePath(), "");
|
||||
} catch (Exception e) {}
|
||||
|
||||
isLogAllow = isChecked;
|
||||
appendToLog("");
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user