equal
deleted
inserted
replaced
13 * |
13 * |
14 * Description: Implementation of applicationmanagement components |
14 * Description: Implementation of applicationmanagement components |
15 * |
15 * |
16 */ |
16 */ |
17 |
17 |
18 |
18 #include "amsmlhelper.h" |
19 #include <SyncMLClientDM.h> |
19 #include <SyncMLClientDM.h> |
|
20 #include "debug.h" |
20 #include <rconnmon.h> |
21 #include <rconnmon.h> |
21 #include "amsmlhelper.h" |
|
22 #include "debug.h" |
|
23 |
|
24 #ifndef SYMBIAN_ENABLE_SPLIT_HEADERS |
22 #ifndef SYMBIAN_ENABLE_SPLIT_HEADERS |
25 #include <es_sock.h> |
23 #include <es_sock.h> |
26 #else |
24 #else |
27 #include <es_sock.h> |
25 #include <es_sock.h> |
28 #include <es_enum_internal.h> |
26 #include <es_enum_internal.h> |
210 value.Copy(source.Left(value.MaxLength() ) ); |
208 value.Copy(source.Left(value.MaxLength() ) ); |
211 User::LeaveIfError(StrToInt(value, num) ); |
209 User::LeaveIfError(StrToInt(value, num) ); |
212 RDEBUG(" 8/8"); |
210 RDEBUG(" 8/8"); |
213 |
211 |
214 aDefaultIAP = num; |
212 aDefaultIAP = num; |
|
213 |
|
214 RDEBUG_2( "GetDefaultIAPFromDMProfileL::SetIAPL: Set IAP Id value to (%d) ", aDefaultIAP); |
215 |
215 |
216 // If there is no default Access point in DM profile then use |
216 // If there is no default Access point in DM profile then use |
217 // currently used access point by DM session |
217 // currently used access point by DM session |
218 |
218 |
219 if (aDefaultIAP == -2) |
219 if (aDefaultIAP <= -1) |
220 { |
220 { |
221 |
221 |
222 TInt sockIapid = -1; |
222 TInt sockIapid = -1; |
223 |
223 |
224 RSocketServ serv; |
224 RSocketServ serv; |
271 TConnectionClientInfo conCliInf = conCliInfoBuf().iClientInfo; |
271 TConnectionClientInfo conCliInf = conCliInfoBuf().iClientInfo; |
272 TUid uid = conCliInf.iUid; |
272 TUid uid = conCliInf.iUid; |
273 if (uid == KSosServerUid) |
273 if (uid == KSosServerUid) |
274 { |
274 { |
275 sockIapid = connInfo().iIapId; |
275 sockIapid = connInfo().iIapId; |
|
276 RDEBUG_2( "GetDefaultIAPFromDMProfileL::SetIAPL: Set IAP Id value to (%d) ", sockIapid); |
276 |
277 |
277 } |
278 } |
278 |
279 |
279 } |
280 } |
280 } |
281 } |