Revert "Use api methods instead of dbus calling" 97/77397/1 accepted/tizen/common/20160703.130122 accepted/tizen/ivi/20160630.003519 accepted/tizen/mobile/20160630.003444 accepted/tizen/tv/20160630.003424 accepted/tizen/wearable/20160630.003503 submit/tizen/20160629.092010
authorDoHyun Pyun <dh79.pyun@samsung.com>
Wed, 29 Jun 2016 12:56:05 +0000 (21:56 +0900)
committerDoHyun Pyun <dh79.pyun@samsung.com>
Wed, 29 Jun 2016 12:56:08 +0000 (21:56 +0900)
This reverts commit 5808b7954fd7141d938f7a7435d74b83d8b81c1a.

Change-Id: I781d5bacf17db9004ace5c397036c063833f0371

data/org.tizen.bt-syspopup.xml
src/bt-syspopup-m.c

index db6aa7c..ab3f893 100644 (file)
@@ -9,7 +9,5 @@
        </ui-application>
        <privileges>
                <privilege>http://tizen.org/privilege/window.priority.set</privilege>
-        <privilege>http://tizen.org/privilege/bluetooth</privilege>
-        <privilege>http://tizen.org/privilege/bluetooth.admin</privilege>
        </privileges>
 </manifest>
index 3e62e09..e0a74e5 100644 (file)
@@ -31,7 +31,6 @@
 #include <E_DBus.h>
 #include <aul.h>
 #include <bluetooth.h>
-#include <bluetooth_internal.h>
 #include <feedback.h>
 #include "bt-syspopup-m.h"
 #include <notification.h>
@@ -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);