Merge "Fix clang-tidy performance warnings in frameworks/base."

am: 4a2dd10d83

Change-Id: Ic7266f1c23ab5218f47bf65bb2bde6f79a07a910
This commit is contained in:
Chih-Hung Hsieh
2018-09-24 11:50:54 -07:00
committed by android-build-merger

View File

@@ -140,7 +140,7 @@ static void splitAndPrint(const string& args) {
size_t base = 0;
size_t found;
while (true) {
found = args.find_first_of(" ", base);
found = args.find_first_of(' ', base);
if (found != base) {
string arg = args.substr(base, found - base);
printf(" \"%s\",", arg.c_str());