mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 11:36:00 +00:00
Migrate String8|16.setTo to assignment operator
Bug: 295394788 Test: make checkbuild Change-Id: Ic98514f48399115046029e68883408090f0cd0db
This commit is contained in:
@@ -107,7 +107,7 @@ std::unique_ptr<AudioParameter> ParametersUtil::getParams(const AudioParameter&
|
||||
String8 paramsAndValues;
|
||||
char* halValues = halGetParameters(keys.keysToString().string());
|
||||
if (halValues != NULL) {
|
||||
paramsAndValues.setTo(halValues);
|
||||
paramsAndValues = halValues;
|
||||
free(halValues);
|
||||
} else {
|
||||
paramsAndValues.clear();
|
||||
|
||||
Reference in New Issue
Block a user