sm7125-common: audio-impl: Migrate String8|16.setTo to assignment operator

Bug: 295394788
Test: make checkbuild
Change-Id: Ic98514f48399115046029e68883408090f0cd0db
fourteen-wip
Tomasz Wasilczyk 1 year ago committed by Simon1511
parent 675f13312a
commit 67c9c40da7
  1. 2
      audio/impl/ParametersUtil.cpp

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

Loading…
Cancel
Save