Merge "The argument type is bool, the current bug passes a "true" or "false" string." into pi-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
0a3815958a
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user