Fix A2dpAudioInterface getParameters.
A2dpAudioInterface::getParameters() was prepending a ';' to the key value pair returned from underlying AudioHardwareInterface.
This commit is contained in:
parent
2239657740
commit
760971d097
@ -185,7 +185,9 @@ String8 A2dpAudioInterface::getParameters(const String8& keys)
|
||||
String8 keyValuePairs = a2dpParam.toString();
|
||||
|
||||
if (param.size()) {
|
||||
keyValuePairs += ";";
|
||||
if (keyValuePairs != "") {
|
||||
keyValuePairs += ";";
|
||||
}
|
||||
keyValuePairs += mHardwareInterface->getParameters(param.toString());
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user