mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-12-26 12:17:39 +00:00
Fix #411
This commit is contained in:
parent
473902f5f4
commit
546c7cebd3
@ -122,6 +122,7 @@ public class MagiskLogFragment extends Fragment {
|
|||||||
|
|
||||||
public void clearLogs() {
|
public void clearLogs() {
|
||||||
Shell.su("echo -n > " + Const.MAGISK_LOG).submit();
|
Shell.su("echo -n > " + Const.MAGISK_LOG).submit();
|
||||||
|
txtLog.setText(R.string.log_is_empty);
|
||||||
SnackbarMaker.make(txtLog, R.string.logs_cleared, Snackbar.LENGTH_SHORT).show();
|
SnackbarMaker.make(txtLog, R.string.logs_cleared, Snackbar.LENGTH_SHORT).show();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user