Change-Id: I750459ba39cf1f1a5014cb005ee6e756c2e25e13
service_type, (const char *)sender) == FALSE) {
BT_ERR("Client don't have the privilege to excute this function");
/* TODO: privilege check doesn't work properly. It sometimes reutrns fail. */
+#if 0
result = BLUETOOTH_ERROR_PERMISSION_DEINED;
goto fail;
+#endif
}
if (request_type == BT_ASYNC_REQ
return EXIT_FAILURE;
}
/* TODO: The below privilege check doesn't work properly. It should be resolved later. */
+#if 0
#ifndef TIZEN_WEARABLE
if (perm_app_set_privilege("bluetooth-frwk-service", NULL, NULL) !=
PC_OPERATION_SUCCESS)
BT_ERR("Failed to set app privilege");
#endif
+#endif
/* Event reciever Init */
if (_bt_init_service_event_receiver() != BLUETOOTH_ERROR_NONE) {
BT_ERR("Fail to init event reciever");