applicationmanagement/server/src/AMSmlHelper.cpp
branchRCL_3
changeset 20 f6aa907032f4
parent 0 3ce708148e4d
child 57 6757f1e2efd2
equal deleted inserted replaced
19:f2fc39bc30a5 20:f6aa907032f4
   208     value.Copy(source.Left(value.MaxLength() ) );
   208     value.Copy(source.Left(value.MaxLength() ) );
   209     User::LeaveIfError(StrToInt(value, num) );
   209     User::LeaveIfError(StrToInt(value, num) );
   210     RDEBUG("	8/8");
   210     RDEBUG("	8/8");
   211 
   211 
   212     aDefaultIAP = num;
   212     aDefaultIAP = num;
       
   213     
       
   214     RDEBUG_2( "GetDefaultIAPFromDMProfileL::SetIAPL: Set IAP Id value to (%d) ", aDefaultIAP);
   213 
   215 
   214     // 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
   215     // currently used access point by DM session
   217     // currently used access point by DM session
   216 
   218 
   217     if (aDefaultIAP == -1)
   219     if (aDefaultIAP <= -1)
   218         {
   220         {
   219 
   221 
   220         TInt sockIapid = -1;
   222         TInt sockIapid = -1;
   221 
   223 
   222         RSocketServ serv;
   224         RSocketServ serv;
   269                 TConnectionClientInfo conCliInf = conCliInfoBuf().iClientInfo;
   271                 TConnectionClientInfo conCliInf = conCliInfoBuf().iClientInfo;
   270                 TUid uid = conCliInf.iUid;
   272                 TUid uid = conCliInf.iUid;
   271                 if (uid == KSosServerUid)
   273                 if (uid == KSosServerUid)
   272                     {
   274                     {
   273                     sockIapid = connInfo().iIapId;
   275                     sockIapid = connInfo().iIapId;
       
   276                     RDEBUG_2( "GetDefaultIAPFromDMProfileL::SetIAPL: Set IAP Id value to (%d) ", sockIapid);
   274 
   277 
   275                     }
   278                     }
   276 
   279 
   277                 }
   280                 }
   278             }
   281             }