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 a2d259aa4a
commit 4ad9ec488c

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