From: DoHyun Pyun Date: Wed, 29 Jun 2016 12:56:05 +0000 (+0900) Subject: Revert "Use api methods instead of dbus calling" X-Git-Tag: submit/tizen/20160629.092010^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=fb6a0ddc6d153f91d14d04a8c6210175a766e365;p=platform%2Fcore%2Fconnectivity%2Fbt-syspopup.git Revert "Use api methods instead of dbus calling" This reverts commit 5808b7954fd7141d938f7a7435d74b83d8b81c1a. Change-Id: I781d5bacf17db9004ace5c397036c063833f0371 --- diff --git a/data/org.tizen.bt-syspopup.xml b/data/org.tizen.bt-syspopup.xml index db6aa7c..ab3f893 100644 --- a/data/org.tizen.bt-syspopup.xml +++ b/data/org.tizen.bt-syspopup.xml @@ -9,7 +9,5 @@ http://tizen.org/privilege/window.priority.set - http://tizen.org/privilege/bluetooth - http://tizen.org/privilege/bluetooth.admin diff --git a/src/bt-syspopup-m.c b/src/bt-syspopup-m.c index 3e62e09..e0a74e5 100644 --- a/src/bt-syspopup-m.c +++ b/src/bt-syspopup-m.c @@ -31,7 +31,6 @@ #include #include #include -#include #include #include "bt-syspopup-m.h" #include @@ -678,19 +677,13 @@ static void __bluetooth_passkey_confirm_cb(void *data, const char *event = elm_object_text_get(obj); if (!g_strcmp0(event, BT_STR_CONFIRM)) { -#if 0 dbus_g_proxy_call_no_reply(ad->agent_proxy, "ReplyConfirmation", G_TYPE_UINT, BT_AGENT_ACCEPT, G_TYPE_INVALID, G_TYPE_INVALID); -#endif - bt_passkey_confirmation_reply(true); } else { -#if 0 dbus_g_proxy_call_no_reply(ad->agent_proxy, "ReplyConfirmation", G_TYPE_UINT, BT_AGENT_CANCEL, G_TYPE_INVALID, G_TYPE_INVALID); -#endif - bt_passkey_confirmation_reply(false); } evas_object_del(obj);