Fix A2dpAudioInterface getParameters.

A2dpAudioInterface::getParameters() was prepending a ';' to the key value pair returned from underlying AudioHardwareInterface.
This commit is contained in:
Eric Laurent 2009-11-25 06:08:44 -08:00
parent 2239657740
commit 760971d097

View File

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