Update busybox; Improve environment setup

This commit is contained in:
topjohnwu
2016-09-25 21:31:38 +08:00
parent dac85757b3
commit 89932b325d
17 changed files with 169 additions and 204 deletions

View File

@@ -104,13 +104,13 @@ public class LogFragment extends Fragment {
}
private void reloadErrorLog() {
new LogsManager(true).execute();
new LogsManager(true).executeOnExecutor(AsyncTask.SERIAL_EXECUTOR);
svLog.post(() -> svLog.scrollTo(0, txtLog.getHeight()));
hsvLog.post(() -> hsvLog.scrollTo(0, 0));
}
private void clear() {
new LogsManager(false).execute();
new LogsManager(false).executeOnExecutor(AsyncTask.SERIAL_EXECUTOR);
reloadErrorLog();
}