Replace MethodCallHandler::setCaller() with a parameterized constructor
[platform/core/context/sensor-recorder.git] / src / server / SensorRecorderService.cpp
index 9846d00..8fba83b 100644 (file)
@@ -82,9 +82,9 @@ void SensorRecorderService::onUserDeactivated()
 {
 }
 
-IMethodCallHandler* SensorRecorderService::createMethodCallHandler()
+IMethodCallHandler* SensorRecorderService::createMethodCallHandler(IClient* client)
 {
-       return new MethodCallHandler();
+       return new MethodCallHandler(client);
 }
 
 GDBusConnection* SensorRecorderService::getConnection()