diff -r 50d20108beab -r 1790c2f1027c serviceproviders/sapi_sysinfo/sysinfoservice/src/activestore.cpp --- a/serviceproviders/sapi_sysinfo/sysinfoservice/src/activestore.cpp Mon Jun 21 16:39:57 2010 +0300 +++ b/serviceproviders/sapi_sysinfo/sysinfoservice/src/activestore.cpp Thu Aug 19 10:46:25 2010 +0300 @@ -100,10 +100,12 @@ aActiveObj = CPubSubNotifier::NewL(aSysRequest, CPubSubNotifier::EInfraRed); - else if( (!Key.CompareF(SysInfo::KConnectionStatus)) - || (!Key.CompareF(SysInfo::KActiveConnections))) + else if( (!Key.CompareF(SysInfo::KActiveConnections)) && (aSysRequest.RequestType() == TSysRequest::EASyncONESHOT) ) aActiveObj = CConnection::NewL(aSysRequest); + else if( (!Key.CompareF(SysInfo::KConnectionStatus)) && (aSysRequest.RequestType() == TSysRequest::ENotification) ) + aActiveObj = CConnection::NewL(aSysRequest); + else User::Leave(KErrNotFound); }