connectionutilities/ConnectionDialogs/ConnectionUiUtilities/NotifSrc/connectingviadiscreetpopup.cpp
branchRCL_3
changeset 8 2e6c4614c58e
parent 0 5a93021fdf25
child 12 ea6e024ea6f9
equal deleted inserted replaced
4:77415202bfc8 8:2e6c4614c58e
   120 
   120 
   121 // ---------------------------------------------------------
   121 // ---------------------------------------------------------
   122 // CConnectingViaDiscreetPopup::StartL
   122 // CConnectingViaDiscreetPopup::StartL
   123 // ---------------------------------------------------------
   123 // ---------------------------------------------------------
   124 //
   124 //
   125 void CConnectingViaDiscreetPopup::StartL(TUint32 aIapId,
   125 void CConnectingViaDiscreetPopup::StartL( TUint32 aIapId )
   126         TBool aConnectionAlreadyActive)
       
   127     {
   126     {
   128     Cancel(); // Cancel any request, just to be sure
   127     Cancel(); // Cancel any request, just to be sure
   129     iBearerType = 0;
   128     iBearerType = 0;
   130     delete iConnectionName;
   129     delete iConnectionName;
   131     iConnectionName = NULL;
   130     iConnectionName = NULL;
   132 
   131     iPopupFlags = KAknDiscreetPopupDurationLong;
   133     if (!aConnectionAlreadyActive)
   132     
   134         {
       
   135         iPopupFlags = KAknDiscreetPopupDurationLong;
       
   136         }
       
   137 
       
   138     RCmConnectionMethod plugin;
   133     RCmConnectionMethod plugin;
   139     CleanupClosePushL(plugin);
   134     CleanupClosePushL(plugin);
   140     if (aIapId)
   135     if (aIapId)
   141         {
   136         {
   142         plugin = icmManager.ConnectionMethodL(aIapId);
   137         plugin = icmManager.ConnectionMethodL(aIapId);