Remove unused vconf value
authorDoHyun Pyun <dh79.pyun@samsung.com>
Tue, 16 Apr 2013 06:22:47 +0000 (15:22 +0900)
committerDoHyun Pyun <dh79.pyun@samsung.com>
Tue, 16 Apr 2013 06:22:47 +0000 (15:22 +0900)
Change-Id: I79db79f65ea97b66d9b31d3b5f908b45c23f2345

bt-share/include/bt-share-main.h
bt-share/src/bt-share-ipc.c
bt-share/src/bt-share-main.c
debian/bluetooth-share.postinst
packaging/bluetooth-share.spec

index d115ec4..deaf086 100644 (file)
@@ -35,8 +35,6 @@ extern "C" {
 #define UI_PACKAGE "org.tizen.bluetooth-share-ui"
 #define UI_PKG_PATH "/opt/apps/org.tizen.bluetooth-share-ui/bin/bluetooth-share-ui"
 
-#define BT_VCONF_OPP_SERVER_INIT "memory/private/bluetooth-share/opp_server_init"
-
 typedef void (*bt_app_cb) (void *, void *, void *);
 
 typedef struct {
index a13bdb9..2165776 100644 (file)
@@ -304,8 +304,7 @@ static DBusHandlerResult __event_filter(DBusConnection *sys_conn,
                                BT_SHARE_FRWK_SIGNAL_DEINIT)) {
                /* Deinitialize the obex server */
                if (bluetooth_obex_server_deinit() == BLUETOOTH_ERROR_NONE) {
-                       if (vconf_set_bool(BT_VCONF_OPP_SERVER_INIT, FALSE)< 0)
-                               ERR("Fail to set the vconf");
+                       DBG("Obex Server deinit");
                }
        } else {
                return DBUS_HANDLER_RESULT_NOT_YET_HANDLED;
index 884d3ec..8af3cf1 100644 (file)
@@ -60,9 +60,6 @@ static void __bt_release_service(struct bt_appdata *ad)
        bluetooth_obex_server_deinit();
        _bt_unregister_notification_cb(ad);
 
-       if (vconf_set_bool(BT_VCONF_OPP_SERVER_INIT, FALSE) < 0)
-               ERR("Fail to set the vconf");
-
        DBG("Terminating bluetooth-share daemon");
 }
 
index dd4d4c2..069327d 100644 (file)
@@ -43,7 +43,6 @@ then
        fi
 
        vconftool set -t bool memory/private/bluetooth-share/quickpanel_clear_btn_status FALSE -g 6520 -i
-       vconftool set -t bool memory/private/bluetooth-share/opp_server_init FALSE -g 6520 -i
 
        chown :5000 /opt/dbspace/.bluetooth_trasnfer.db
        chown :5000 /opt/dbspace/.bluetooth_trasnfer.db-journal
index 2c91b43..9e85595 100644 (file)
@@ -82,7 +82,6 @@ then
 fi
 
 vconftool set -tf bool memory/private/bluetooth-share/quickpanel_clear_btn_status FALSE -g 6520 -i
-vconftool set -tf bool memory/private/bluetooth-share/opp_server_init FALSE -g 6520 -i
 
 if [ ! -f /opt/dbspace/.bluetooth_trasnfer.db ]
 then