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

Commit 37251d2c authored by Josh Gao's avatar Josh Gao Committed by Automerger Merge Worker
Browse files

Merge "Generate text tombstones from proto tombstones by default." am: 8c164946 am: 844ce557

Original change: https://android-review.googlesource.com/c/platform/system/core/+/1595302

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I1c80dee00f881cfa529fad32e51edb5008df87c3
parents f139523a 844ce557
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -619,7 +619,7 @@ void engrave_tombstone(unique_fd output_fd, unique_fd proto_fd, unwindstack::Unw
  log.tfd = output_fd.get();
  log.amfd_data = amfd_data;

  bool translate_proto = GetBoolProperty("debug.debuggerd.translate_proto_to_text", false);
  bool translate_proto = GetBoolProperty("debug.debuggerd.translate_proto_to_text", true);
  if (translate_proto) {
    tombstone_proto_to_text(tombstone, [&log](const std::string& line, bool should_log) {
      _LOG(&log, should_log ? logtype::HEADER : logtype::LOGS, "%s\n", line.c_str());