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

Commit d6bafbd3 authored by Chris Manton's avatar Chris Manton Committed by Automerger Merge Worker
Browse files
parents ae137a8c 47bcc9e1
Loading
Loading
Loading
Loading
+2 −7
Original line number Diff line number Diff line
@@ -123,13 +123,8 @@ void Dumpsys::impl::DumpWithArgsAsync(int fd, const char** args) {
  std::string dumpsys_data;
  dumper.DumpState(&dumpsys_data);

  if (parsed_dumpsys_args.IsDeveloper() || IsDebuggable()) {
  dprintf(fd, " ----- Filtering as Developer -----\n");
  FilterAsDeveloper(&dumpsys_data);
  } else {
    dprintf(fd, " ----- Filtering as User -----\n");
    FilterAsUser(&dumpsys_data);
  }

  dprintf(fd, "%s", PrintAsJson(&dumpsys_data).c_str());
}