Remove libprivilege-control dependency 41/54841/1 accepted/tizen/mobile/20151221.102207 accepted/tizen/tv/20151221.101954 accepted/tizen/wearable/20151221.102139 submit/tizen_common/20151229.144031 submit/tizen_common/20151229.154718 submit/tizen_mobile/20151221.045050 submit/tizen_tv/20151221.045053 submit/tizen_wearable/20151221.045102
authorTaejin Woo <tt.woo@samsung.com>
Fri, 18 Dec 2015 06:53:22 +0000 (15:53 +0900)
committerTaejin Woo <tt.woo@samsung.com>
Fri, 18 Dec 2015 06:54:41 +0000 (15:54 +0900)
Change-Id: I0d9c1d64c9d23aba44b6667d2b9e9063ae02de43
Signed-off-by: Taejin Woo <tt.woo@samsung.com>
bt-service/CMakeLists.txt
bt-service/bt-service-main.c
packaging/bluetooth-frwk.spec

index 81014d4..2a7b4f2 100644 (file)
@@ -53,7 +53,6 @@ SET(PKG_MODULES
        vconf
        aul
        vconf
-       libprivilege-control
        syspopup-caller
        dbus-glib-1
        gio-2.0
index 3f85ab9..acdf110 100644 (file)
@@ -27,9 +27,6 @@
 #include <string.h>
 #include <vconf.h>
 
-#ifndef TIZEN_WEARABLE
-#include <privilege-control.h>
-#endif
 #include <bundle.h>
 #if 0
 #include <eventsystem.h>
@@ -240,14 +237,7 @@ int main(void)
                BT_ERR("Fail to init cynara");
                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");
index 4fbb8ea..8d49cc6 100644 (file)
@@ -53,7 +53,6 @@ BuildRequires:  pkgconfig(pkgmgr)
 BuildRequires:  pkgconfig(capi-network-tethering)
 %endif
 BuildRequires:  cmake
-BuildRequires:  pkgconfig(libprivilege-control)
 BuildRequires:  pkgconfig(cynara-client)
 BuildRequires:  pkgconfig(cynara-creds-gdbus)
 BuildRequires:  pkgconfig(libtzplatform-config)