bluetoothappprofiles/avrcp/remconbeareravrcp/src/avrcpMetadataTransfer.cpp
branchRCL_3
changeset 20 2f88a7d66f50
parent 1 6a1fe72036e3
equal deleted inserted replaced
16:b23265fb36da 20:2f88a7d66f50
   899 			count += 2;
   899 			count += 2;
   900 			eventsBuf.Append(ERegisterNotificationNowPlayingContentChanged );
   900 			eventsBuf.Append(ERegisterNotificationNowPlayingContentChanged );
   901 			eventsBuf.Append(ERegisterNotificationUidsChanged );
   901 			eventsBuf.Append(ERegisterNotificationUidsChanged );
   902 			}
   902 			}
   903 		
   903 		
   904 		// Always mark support for stuff that's handled internally rather than
   904 		// If there are any browsing clients then mark support for the player addressing
   905 		// by the player
   905 		// events.  Without browsing support the remote will not be able to see the 
   906 		count+= 2;
   906 		// information about the players so it is better not to let them see events
   907 		eventsBuf.Append(ERegisterNotificationAvailablePlayersChanged );
   907 		// relating to the them
   908 		eventsBuf.Append(ERegisterNotificationAddressedPlayerChanged );
   908 		if(iPlayerInfoManager->BrowsingSupportedL(KNullClientId))
       
   909 			{
       
   910 			count+= 2;
       
   911 			eventsBuf.Append(ERegisterNotificationAvailablePlayersChanged );
       
   912 			eventsBuf.Append(ERegisterNotificationAddressedPlayerChanged );
       
   913 			}
   909 		
   914 		
   910 		responseData[1] += count;
   915 		responseData[1] += count;
   911 
   916 
   912 		TInt packageLength = responseData.Length()+ count;
   917 		TInt packageLength = responseData.Length()+ count;
   913 		aFramePayload.Append(packageLength>>8);
   918 		aFramePayload.Append(packageLength>>8);