Merge "The argument type is bool, the current bug passes a "true" or "false" string." into pi-dev

This commit is contained in:
TreeHugger Robot
2018-05-15 17:47:16 +00:00
committed by Android (Google) Code Review

View File

@@ -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");