mirror of
https://github.com/2009scape/2009Scape-mobile.git
synced 2025-12-20 05:20:14 -07:00
Catch an exception
This commit is contained in:
parent
42357626cf
commit
130ea87366
1 changed files with 4 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue