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

Commit b0855527 authored by Elliott Hughes's avatar Elliott Hughes Committed by Android Git Automerger
Browse files

am 17ac480d: am 55793400: Merge "init shouldn\'t call DumpState by default."

* commit '17ac480d':
  init shouldn't call DumpState by default.
parents a669ad54 17ac480d
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -105,7 +105,10 @@ bool Parser::ParseConfigFile(const std::string& path) {
    for (const auto& sp : section_parsers_) {
        sp.second->EndFile(path);
    }
    DumpState();

    // Turning this on and letting the INFO logging be discarded adds 0.2s to
    // Nexus 9 boot time, so it's disabled by default.
    if (false) DumpState();

    NOTICE("(Parsing %s took %.2fs.)\n", path.c_str(), t.duration());
    return true;