connectionutilities/ConnectionDialogs/ConnectionUiUtilities/NotifSrc/connectingviadiscreetpopup.cpp
equal
deleted
inserted
replaced
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); |