#define HFP_AGENT_PATH "/org/bluez/hfp_agent"
#define HFP_AGENT_INTERFACE "Org.Hfp.App.Interface"
-#define TELEPHONY_APP_INTERFACE "org.tizen.csd.Call.Instance"
#define CSD_CALL_APP_PATH "/org/tizen/csd/%d"
#define HFP_NREC_STATUS_CHANGE "NrecStatusChanged"
#define HFP_ANSWER_CALL "Answer"
static int __bluetooth_telephony_proxy_init(void)
{
FN_START;
- guint owner_id;
GDBusNodeInfo *node_info;
- owner_id = g_bus_own_name(G_BUS_TYPE_SYSTEM,
- TELEPHONY_APP_INTERFACE,
- G_BUS_NAME_OWNER_FLAGS_NONE,
- NULL, NULL, NULL,
- NULL, NULL);
- BT_DBG("owner_id is [%d]", owner_id);
-
node_info = __bt_telephony_create_method_node_info(
bt_telephony_introspection_xml);
if (node_info == NULL) {
<allow send_destination="org.projectx.bt"/>
<allow own="org.bluez.obex"/>
<allow send_destination="org.bluez.obex"/>
+ <allow send_interface="org.tizen.csd.Call.Instance"/>
</policy>
<policy context="default">
<deny own="org.projectx.bt"/>
<allow send_destination="org.projectx.bt" send_interface="org.bluez.obex.reply"/>
<allow send_destination="org.projectx.bt_event"/>
<allow send_destination="org.projectx.bluetooth.share"/>
- <allow send_destination="org.tizen.csd.Call.Instance"/>
</policy>
</busconfig>