bluetoothappprofiles/avrcp/remconbeareravrcp/src/avrcpincomingcommandhandler.cpp
branchRCL_3
changeset 56 9386f31cc85b
parent 55 613943a21004
equal deleted inserted replaced
55:613943a21004 56:9386f31cc85b
     1 // Copyright (c) 2004-2010 Nokia Corporation and/or its subsidiary(-ies).
     1 // Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies).
     2 // All rights reserved.
     2 // All rights reserved.
     3 // This component and the accompanying materials are made available
     3 // This component and the accompanying materials are made available
     4 // under the terms of "Eclipse Public License v1.0"
     4 // under the terms of "Eclipse Public License v1.0"
     5 // which accompanies this distribution, and is available
     5 // which accompanies this distribution, and is available
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
   562 			RAvrcpSetAddressedPlayerResponse response;
   562 			RAvrcpSetAddressedPlayerResponse response;
   563 			response.iStatus = AvrcpStatus::ESuccess;
   563 			response.iStatus = AvrcpStatus::ESuccess;
   564 			
   564 			
   565 			// Can ignore this as we know we have allocated a big enough buffer
   565 			// Can ignore this as we know we have allocated a big enough buffer
   566 			TRAP_IGNORE(response.WriteL(responseBuf));
   566 			TRAP_IGNORE(response.WriteL(responseBuf));
   567 
       
   568 			iCommandInterface.MrccciSetAddressedClient(iClientId);
       
   569 			break;
   567 			break;
   570 			}
   568 			}
   571 			};
   569 			};
   572 	
   570 	
   573 		SendInternalResponse(aId, responseBuf);
   571 		SendInternalResponse(aId, responseBuf);
       
   572 		iCommandInterface.MrccciSetAddressedClient(iClientId);
       
   573 	
   574 		responseBuf.Close();
   574 		responseBuf.Close();
   575 		}
   575 		}
   576 
   576 
   577 	return err;
   577 	return err;
   578 	}
   578 	}