diff options
author | Yi Jin <jinyithu@google.com> | 2018-05-14 18:04:29 -0700 |
---|---|---|
committer | Yi Jin <jinyithu@google.com> | 2018-05-14 18:04:29 -0700 |
commit | 480a956521e6b9dede8f159014fceb5a5a6e196d (patch) | |
tree | 28122b569c6ea5c81d98e2c56af4a089c5c20796 /tools/incident_section_gen/main.cpp | |
parent | ba96b97aab8bb28d6d649733a5b72539e8b37b51 (diff) |
The argument type is bool, the current bug passes a "true" or "false"
string.
Bug: 79710844
Test: atest incidentd_test
Change-Id: I66fc086e4a194e68638311ccdc305a495ecf8da4
Diffstat (limited to 'tools/incident_section_gen/main.cpp')
-rw-r--r-- | tools/incident_section_gen/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/incident_section_gen/main.cpp b/tools/incident_section_gen/main.cpp index 4e202df3134e..3689a8f2981e 100644 --- a/tools/incident_section_gen/main.cpp +++ b/tools/incident_section_gen/main.cpp @@ -421,7 +421,7 @@ static bool generateSectionListCpp(Descriptor const* descriptor) { printf(" NULL),\n"); break; case SECTION_DUMPSYS: - printf(" new DumpsysSection(%d, \"%s\",", field->number(), + printf(" new DumpsysSection(%d, %s,", field->number(), s.userdebug_and_eng_only() ? "true" : "false"); splitAndPrint(s.args()); printf(" NULL),\n"); |