Merge "Migrate String8|16.setTo to assignment operator" into main

This commit is contained in:
Treehugger Robot
2023-08-24 15:54:28 +00:00
committed by Gerrit Code Review

View File

@@ -107,7 +107,7 @@ std::unique_ptr<AudioParameter> ParametersUtil::getParams(const AudioParameter&
String8 paramsAndValues;
char* halValues = halGetParameters(keys.keysToString().c_str());
if (halValues != NULL) {
paramsAndValues.setTo(halValues);
paramsAndValues = halValues;
free(halValues);
} else {
paramsAndValues.clear();