Modified resource properties for remote-app-control 83/106483/1
authorkmook <kmook.choi@samsung.com>
Thu, 22 Dec 2016 01:10:09 +0000 (10:10 +0900)
committerkmook <kmook.choi@samsung.com>
Thu, 22 Dec 2016 01:10:09 +0000 (10:10 +0900)
Change-Id: I8e7093c59546bffe8bfb260309739e9507d72677
Signed-off-by: kmook <kmook.choi@samsung.com>
daemon/service_provider/RemoteAppControlServiceProvider.cpp

index 3000181..0375bc3 100755 (executable)
@@ -635,7 +635,7 @@ int conv::RemoteAppControlServiceProvider::init()
                iotcon_resource_types_h resource_types = NULL;
                int error;
 
-               properties = IOTCON_RESOURCE_DISCOVERABLE | IOTCON_RESOURCE_OBSERVABLE;
+               properties = IOTCON_RESOURCE_NO_POLICY;
 
                error = iotcon_resource_types_create(&resource_types);
                IF_FAIL_RETURN_TAG(error == IOTCON_ERROR_NONE, CONV_ERROR_INVALID_OPERATION, _E, "rt creation failed");
@@ -815,7 +815,7 @@ int conv::RemoteAppControlServiceProvider::startRequest(Request* requestObj)
                return CONV_ERROR_INVALID_OPERATION;
        }
 
-       properties = IOTCON_RESOURCE_DISCOVERABLE | IOTCON_RESOURCE_OBSERVABLE;
+       properties = IOTCON_RESOURCE_NO_POLICY;
 
        error = iotcon_resource_types_create(&resource_types);
        IF_FAIL_RETURN_TAG(error == IOTCON_ERROR_NONE, CONV_ERROR_INVALID_OPERATION, _E, "rt creation failed");