Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit dca30047 authored by Mark Salyzyn's avatar Mark Salyzyn Committed by android-build-merger
Browse files

Merge "dumpstate: Add security log dump" am: bc611a1d

am: 0c124edf

* commit '0c124edf':
  dumpstate: Add security log dump
parents 0ce5c984 0c124edf
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -347,11 +347,12 @@ static void dumpstate(const std::string& screenshot_path) {
                                                        "-v", "printable",
                                                        "-d",
                                                        "*:v", NULL);
    timeout = logcat_timeout("events");
    timeout = logcat_timeout("events") + logcat_timeout("security");
    if (timeout < 20000) {
        timeout = 20000;
    }
    run_command("EVENT LOG", timeout / 1000, "logcat", "-b", "events",
                                                       "-b", "security",
                                                       "-v", "threadtime",
                                                       "-v", "printable",
                                                       "-d",