Revert """Apply pwlock status on only target"" 93/243593/1
authorManish Toshan Rathod/Tizen Platform /SRI-Bangalore/Staff Engineer/Samsung Electronics <manish.r@samsung.com>
Tue, 8 Sep 2020 10:16:31 +0000 (15:46 +0530)
committerManish Toshan Rathod/Tizen Platform /SRI-Bangalore/Staff Engineer/Samsung Electronics <manish.r@samsung.com>
Tue, 8 Sep 2020 10:17:02 +0000 (15:47 +0530)
This reverts commit 8c45052e3396b3bec07a5ba83d024d2b1397bd03.

Change-Id: I2ef5ddebb4d6a3a952f201bded75ad2aadc753c4

src/default_plugin_main.c

index f4b0214bc068afc2d2467effd8f155019259f9e1..14919340ae9e1e26bc4ac9abe5b604e921596025 100644 (file)
@@ -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;