mirror of
https://github.com/M66B/FairEmail.git
synced 2025-02-24 07:01:05 +00:00
CASA logcat
This commit is contained in:
parent
82883b640a
commit
fd42453bb5
1 changed files with 3 additions and 1 deletions
|
@ -3129,11 +3129,13 @@ public class Log {
|
|||
attachment.id = db.attachment().insertAttachment(attachment);
|
||||
|
||||
// https://cheatsheetseries.owasp.org/cheatsheets/OS_Command_Injection_Defense_Cheat_Sheet.html#java
|
||||
ProcessBuilder pb = new ProcessBuilder("logcat",
|
||||
ProcessBuilder pb = new ProcessBuilder("/system/bin/logcat",
|
||||
"-d",
|
||||
"-v", "threadtime",
|
||||
//"-t", "1000",
|
||||
Log.TAG + ":I");
|
||||
Map<String, String> env = pb.environment();
|
||||
env.clear();
|
||||
pb.directory(context.getFilesDir());
|
||||
|
||||
Process proc = null;
|
||||
|
|
Loading…
Reference in a new issue