projects
/
sdk
/
target
/
sdbd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0ae9954
)
""Apply pwlock status on only target"
03/243203/1
accepted/tizen/unified/20200904.035518
submit/tizen/20200904.034043
author
sangwook lee
<sangwook96.lee@samsung.com>
Fri, 4 Sep 2020 20:22:01 +0000
(
05:22
+0900)
committer
sangwook lee
<sangwook96.lee@samsung.com>
Fri, 4 Sep 2020 20:22:01 +0000
(
05:22
+0900)
Change-Id: I00b8b36ec495e46afd6b9fc23c4b252403398840
Signed-off-by: sangwook lee <sangwook96.lee@samsung.com>
src/default_plugin_main.c
patch
|
blob
|
history
diff --git
a/src/default_plugin_main.c
b/src/default_plugin_main.c
index
1491934
..
f4b0214
100644
(file)
--- a/
src/default_plugin_main.c
+++ b/
src/default_plugin_main.c
@@
-18,6
+18,7
@@
#include "sdbd_plugin.h"
#include "default_plugin.h"
#include "plugin.h"
+#include "sdb.h"
eventfunc event_handler = NULL;
@@
-28,7
+29,9
@@
int default_plugin_init ( eventfunc event_cb, registerfunc register_func )
event_handler = event_cb;
if (is_supported_by_plugin(PLUGIN_EVENT_PWLOCK) == 0) {
- create_pwlock_thread();
+ if( is_emulator() == 0 ) { //0 : target , 1: emulator
+ create_pwlock_thread();
+ }
}
return PLUGIN_CMD_SUCCESS;