accessoryservices/accessoryserver/src/Server/AccSrvConnectionHandler.cpp
branchRCL_3
changeset 17 0b0048910c20
parent 0 4e1aa6a622a0
child 20 1ddbe54d0645
--- a/accessoryservices/accessoryserver/src/Server/AccSrvConnectionHandler.cpp	Wed Jun 09 11:04:22 2010 +0300
+++ b/accessoryservices/accessoryserver/src/Server/AccSrvConnectionHandler.cpp	Mon Jun 21 17:06:14 2010 +0300
@@ -238,6 +238,7 @@
     TBool aUpdatedConnection )
     {
     COM_TRACE_( "[AccFW:AccServer] CAccSrvConnectionHandler::StartConnectionHandling()" );
+    #define UNMASK_LINE_OUT(selectionListBitmask)  (selectionListBitmask & (~KASLineOut))
 
     iGenericID = aGenericID;
     iConnectionUpdate = aUpdatedConnection;
@@ -309,6 +310,7 @@
     			if ( accCount > 1 )
     			    {
 	    			//if there is possible selection show UI
+	    			selectionListBitmask = UNMASK_LINE_OUT(selectionListBitmask);
 		    		SetupSelectionDialogL( selectionListBitmask );    			
     			    }
     			else