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

Commit 454aa859 authored by Chris Manton's avatar Chris Manton
Browse files

Remove user filtering

Bug: 232336545
Tag: #refactor
Test: gd/cert/run
BYPASS_LONG_LINES_REASON: Bluetooth likes 120 lines
Ignore-AOSP-First: cherrypick

Change-Id: I5f260902636d3338cd72d05bc489008098ab8b42
parent 0c9df3ab
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());
}