From: Taejin Woo Date: Fri, 18 Dec 2015 06:53:22 +0000 (+0900) Subject: Remove libprivilege-control dependency X-Git-Tag: submit/tizen_mobile/20151221.045050 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Ftags%2Fsubmit%2Ftizen_mobile%2F20151221.045050;p=platform%2Fcore%2Fconnectivity%2Fbluetooth-frwk.git Remove libprivilege-control dependency Change-Id: I0d9c1d64c9d23aba44b6667d2b9e9063ae02de43 Signed-off-by: Taejin Woo --- diff --git a/bt-service/CMakeLists.txt b/bt-service/CMakeLists.txt index 81014d4..2a7b4f2 100644 --- a/bt-service/CMakeLists.txt +++ b/bt-service/CMakeLists.txt @@ -53,7 +53,6 @@ SET(PKG_MODULES vconf aul vconf - libprivilege-control syspopup-caller dbus-glib-1 gio-2.0 diff --git a/bt-service/bt-service-main.c b/bt-service/bt-service-main.c index 3f85ab9..acdf110 100644 --- a/bt-service/bt-service-main.c +++ b/bt-service/bt-service-main.c @@ -27,9 +27,6 @@ #include #include -#ifndef TIZEN_WEARABLE -#include -#endif #include #if 0 #include @@ -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"); diff --git a/packaging/bluetooth-frwk.spec b/packaging/bluetooth-frwk.spec index 4fbb8ea..8d49cc6 100644 --- a/packaging/bluetooth-frwk.spec +++ b/packaging/bluetooth-frwk.spec @@ -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)