bluetoothengine/btaudioman/src/basrvsdpquery.cpp
changeset 2 0b192a3a05a4
parent 0 f63038272f30
child 6 6a29d5ad0713
--- a/bluetoothengine/btaudioman/src/basrvsdpquery.cpp	Tue Jan 26 12:06:42 2010 +0200
+++ b/bluetoothengine/btaudioman/src/basrvsdpquery.cpp	Tue Feb 02 00:20:42 2010 +0200
@@ -356,8 +356,11 @@
                 if (iServiceAttrs[ii].iAttrValue)
                     {
                     TRACE_INFO((_L("HSP Remote volume control is supported.")))
-                    // Server is going to feed 0x10 to supported features for headset profile
-                    aInfo.SetSupportedFeature(0x10, TAccInfo::EHSPIndex);
+                    // Server is going to feed 0x10 to supported features for headset profile.
+                    // The SDP of HSP doesn't really use supported feature attribute.
+                    // We save RVC support in supported feature field for internal future use only.
+                    // This approach is consistent with Accessory framework API.
+                    aInfo.SetSupportedFeature(KHspRemoteVolumeControlSupport, TAccInfo::EHSPIndex);
                     }
                 }
             else if ( iServiceAttrs[ii].iUUID == KAVRemoteControlTargetUUID )