From: Manish Toshan Rathod/Tizen Platform /SRI-Bangalore/Staff Engineer/Samsung Electronics Date: Tue, 8 Sep 2020 10:16:31 +0000 (+0530) Subject: Revert """Apply pwlock status on only target"" X-Git-Tag: submit/tizen/20200909.080622~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F93%2F243593%2F1;p=sdk%2Ftarget%2Fsdbd.git Revert """Apply pwlock status on only target"" This reverts commit 8c45052e3396b3bec07a5ba83d024d2b1397bd03. Change-Id: I2ef5ddebb4d6a3a952f201bded75ad2aadc753c4 --- diff --git a/src/default_plugin_main.c b/src/default_plugin_main.c index f4b0214..1491934 100644 --- a/src/default_plugin_main.c +++ b/src/default_plugin_main.c @@ -18,7 +18,6 @@ #include "sdbd_plugin.h" #include "default_plugin.h" #include "plugin.h" -#include "sdb.h" eventfunc event_handler = NULL; @@ -29,9 +28,7 @@ int default_plugin_init ( eventfunc event_cb, registerfunc register_func ) event_handler = event_cb; if (is_supported_by_plugin(PLUGIN_EVENT_PWLOCK) == 0) { - if( is_emulator() == 0 ) { //0 : target , 1: emulator - create_pwlock_thread(); - } + create_pwlock_thread(); } return PLUGIN_CMD_SUCCESS;