diff options
-rw-r--r-- | cmds/incidentd/src/IncidentService.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cmds/incidentd/src/IncidentService.cpp b/cmds/incidentd/src/IncidentService.cpp index a8b99ceecd7f..a52726396b53 100644 --- a/cmds/incidentd/src/IncidentService.cpp +++ b/cmds/incidentd/src/IncidentService.cpp @@ -564,7 +564,8 @@ status_t IncidentService::dump(int fd, const Vector<String16>& args) { int skipped[] = SKIPPED_SECTIONS; for (const Section** section = SECTION_LIST; *section; section++) { const int id = (*section)->id; - if (std::find(std::begin(skipped), std::end(skipped), id) == std::end(skipped)) { + if (std::find(std::begin(skipped), std::end(skipped), id) == std::end(skipped) + && !section_requires_specific_mention(id)) { incidentArgs.addSection(id); } } |