equal
deleted
inserted
replaced
26 #include "ConnMonSess.h" |
26 #include "ConnMonSess.h" |
27 #include "CEventQueue.h" |
27 #include "CEventQueue.h" |
28 #include "ConnMonIAP.h" |
28 #include "ConnMonIAP.h" |
29 #include "ConnMonNoti.h" |
29 #include "ConnMonNoti.h" |
30 #include "ConnMonAvailabilityManager.h" |
30 #include "ConnMonAvailabilityManager.h" |
|
31 #include "cellulardatausagekeyupdater.h" |
31 #include "log.h" |
32 #include "log.h" |
32 |
33 |
33 // ============================ MEMBER FUNCTIONS =============================== |
34 // ============================ MEMBER FUNCTIONS =============================== |
34 |
35 |
35 // ----------------------------------------------------------------------------- |
36 // ----------------------------------------------------------------------------- |
972 } |
973 } |
973 } |
974 } |
974 |
975 |
975 // Store to compare next event correctly |
976 // Store to compare next event correctly |
976 iEventInfo.iData = value; |
977 iEventInfo.iData = value; |
|
978 |
|
979 // Update KCurrentCellularDataUsage -key in Repository KCRUidCmManage. |
|
980 // Key tells applications whether it is allowed to use packet data or not. |
|
981 TRAP_IGNORE( iServer->CellularDataUsageKeyUpdater()->UpdateKeyL( |
|
982 iServer->Iap()->CalculateNetworkRegistration_v2( iRegistration ) ); ) |
977 } |
983 } |
978 LOGIT("CNetwRegistrationNotifier::RunL triggered HandleAvailabilityChange()") |
984 LOGIT("CNetwRegistrationNotifier::RunL triggered HandleAvailabilityChange()") |
979 iServer->AvailabilityManager()->HandleAvailabilityChange(); |
985 iServer->AvailabilityManager()->HandleAvailabilityChange(); |
980 } |
986 } |
981 // New request |
987 // New request |