a71-common: audio-impl: Migrate String8|16.setTo to assignment operator
Bug: 295394788 Test: make checkbuild Change-Id: I4df5d3fe54912abbf42f92f809ab5602c0d8caef
This commit is contained in:
@@ -97,7 +97,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();
|
||||
|
||||
Reference in New Issue
Block a user