bluetoothappprofiles/avrcp/remconbeareravrcp/src/remconbeareravrcp.cpp
changeset 49 9866e1d49556
parent 42 b72428996822
child 56 9386f31cc85b
--- a/bluetoothappprofiles/avrcp/remconbeareravrcp/src/remconbeareravrcp.cpp	Mon Jul 26 10:02:52 2010 +0300
+++ b/bluetoothappprofiles/avrcp/remconbeareravrcp/src/remconbeareravrcp.cpp	Tue Jul 27 13:42:03 2010 +0300
@@ -1,4 +1,4 @@
-// Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies).
+// Copyright (c) 2004-2010 Nokia Corporation and/or its subsidiary(-ies).
 // All rights reserved.
 // This component and the accompanying materials are made available
 // under the terms of "Eclipse Public License v1.0"
@@ -698,6 +698,19 @@
 	return iPlayerInfoManager->SetLocalAddressedClient(aId);
 	}
 
+void CRemConBearerAvrcp::TargetFeaturesUpdated(const TRemConClientId& aId, TPlayerType aPlayerType, TPlayerSubType aPlayerSubType, const TDesC8& aName)
+    {
+    LOG_FUNC
+    
+    if (!iConstructionComplete)
+        {
+        // Object only partially constructed, swallow the request
+        return;
+        }
+    
+    iPlayerInfoManager->TargetFeaturesUpdated(aId, aPlayerType, aPlayerSubType, aName);
+    }
+
 void CRemConBearerAvrcp::ControllerFeaturesUpdated(RArray<TUid>& aSupportedInterfaces)
 	{
 	LOG_FUNC