Merge "Changed iotcon API connectivity parameters" into tizen
authorPark <jpark0@samsung.com>
Mon, 14 Nov 2016 05:30:02 +0000 (21:30 -0800)
committerGerrit Code Review <gerrit@review.vlan103.tizen.org>
Mon, 14 Nov 2016 05:30:02 +0000 (21:30 -0800)
1  2 
daemon/service_provider/RemoteAppControlServiceProvider.cpp

@@@ -233,12 -233,9 +233,11 @@@ static int __access_control(iotcon_requ
        IF_FAIL_RETURN_TAG(ret == IOTCON_ERROR_NONE, CONV_ERROR_INVALID_PARAMETER, _E, "iotcon_representation_get_attributes() Fail(%d)", ret);
  
        if(!strcmp(CONV_ACCESS_CONTROL_REQUEST, access_request_type)) {
                ACManagerPolicy acManagerPolicy = ACMANAGER_POLICY_U;
                IF_FAIL_RETURN_TAG(AddACLDevice(macAddress, deviceName, ip.c_str(), &acManagerPolicy) == ACLResult_OK, CONV_ERROR_INVALID_OPERATION, _E, "AddACLDevice failed");
 -
 +#if defined(_WEARABLE_)
 +              acManagerPolicy = ACMANAGER_POLICY_P;
 +#endif
                if (acManagerPolicy == ACMANAGER_POLICY_P) {
                        _D("PERMITTED");
                        policy = CONV_ACCESS_CONTROL_PERMITTED;