Revision: 201029 RCL_3
authorDremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Thu, 19 Aug 2010 10:46:25 +0300
branchRCL_3
changeset 43 1790c2f1027c
parent 41 50d20108beab
child 44 0b68a1b0c15e
Revision: 201029 Kit: 201033
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);
         }