bluetoothappprofiles/avrcp/remconbeareravrcp/src/playerstatewatcher.cpp
branchRCL_3
changeset 6 6a29d5ad0713
parent 0 f63038272f30
child 49 9866e1d49556
equal deleted inserted replaced
2:0b192a3a05a4 6:6a29d5ad0713
    38 	{
    38 	{
    39 	LOG_FUNC;
    39 	LOG_FUNC;
    40 	CInternalCommand* command = *iCommands.Find(aClientId);
    40 	CInternalCommand* command = *iCommands.Find(aClientId);
    41 	__ASSERT_DEBUG(command, AVRCP_PANIC(ENotWatchingPlayer));
    41 	__ASSERT_DEBUG(command, AVRCP_PANIC(ENotWatchingPlayer));
    42 
    42 
       
    43 	TUint transId = command->RemConCommandId();
       
    44 	iCommandInterface.MrcciCommandExpired(transId);
       
    45 
    43 	iCommands.Remove(aClientId);
    46 	iCommands.Remove(aClientId);
    44 	command->DecrementUsers();
    47 	command->DecrementUsers();
    45 	}
    48 	}
    46 
    49 
    47 void CPlayerWatcherBase::MessageSent(CAvrcpCommand& /*aCommand*/, TInt /*aSendResult*/)
    50 void CPlayerWatcherBase::MessageSent(CAvrcpCommand& /*aCommand*/, TInt /*aSendResult*/)