equal
deleted
inserted
replaced
147 // Complete selection with error code if wlan only was set and cellular IAP other |
147 // Complete selection with error code if wlan only was set and cellular IAP other |
148 // than MMS IAP was tried to access |
148 // than MMS IAP was tried to access |
149 if ( wlanOnly && |
149 if ( wlanOnly && |
150 ( bearerType == EMPMBearerTypePacketData ) && |
150 ( bearerType == EMPMBearerTypePacketData ) && |
151 ( iSession->IsMMSIap( iChooseIapPref.IapId() ) == EFalse ) ) |
151 ( iSession->IsMMSIap( iChooseIapPref.IapId() ) == EFalse ) ) |
|
152 { |
|
153 ChooseIapComplete( KErrPermissionDenied, NULL ); |
|
154 return; |
|
155 } |
|
156 } |
|
157 |
|
158 if ( iChooseIapPref.ConnSelectionDialog() ) |
|
159 { |
|
160 // Complete selection with error code if wlan only was set and bearer set as cellular |
|
161 if ( wlanOnly && |
|
162 iChooseIapPref.BearerSet() == TExtendedConnPref::EExtendedConnBearerCellular ) |
152 { |
163 { |
153 ChooseIapComplete( KErrPermissionDenied, NULL ); |
164 ChooseIapComplete( KErrPermissionDenied, NULL ); |
154 return; |
165 return; |
155 } |
166 } |
156 } |
167 } |