From 67c9c40da701f49d497be7f7e07d63119ba8e281 Mon Sep 17 00:00:00 2001 From: Tomasz Wasilczyk Date: Wed, 23 Aug 2023 22:14:17 +0000 Subject: [PATCH] sm7125-common: audio-impl: Migrate String8|16.setTo to assignment operator Bug: 295394788 Test: make checkbuild Change-Id: Ic98514f48399115046029e68883408090f0cd0db --- audio/impl/ParametersUtil.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/audio/impl/ParametersUtil.cpp b/audio/impl/ParametersUtil.cpp index dade6d6..0a90a7c 100644 --- a/audio/impl/ParametersUtil.cpp +++ b/audio/impl/ParametersUtil.cpp @@ -107,7 +107,7 @@ std::unique_ptr 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();