projects
/
platform
/
core
/
system
/
deviced.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e62ffd0
)
display lock/unlock/change of libdeviced is using dbus for IPC.
author
sh.pi
<sh.pi@samsung.com>
Tue, 14 May 2013 14:19:03 +0000
(23:19 +0900)
committer
Krzysztof Sasiak
<k.sasiak@samsung.com>
Tue, 27 Aug 2013 10:17:17 +0000
(12:17 +0200)
Socket is not used for IPC.
Now dbus is used for display lock/unlock/change state.
Change-Id: Iabc152e4a94cc246b3b5e0b90b641dcdb0dfe9e2
src/shared/display.c
patch
|
blob
|
history
diff --git
a/src/shared/display.c
b/src/shared/display.c
index
874373b
..
a3e0178
100644
(file)
--- a/
src/shared/display.c
+++ b/
src/shared/display.c
@@
-396,9
+396,8
@@
API int display_lock_state(unsigned int s_bits, unsigned int flag,
p = STR_STAYCURSTATE;
pa[1] = p;
+ if (flag & HOLD_KEY_BLOCK)
p = STR_HOLDKEYBLOCK;
- else if (flag & STANDBY_MODE)
- p = STR_STANDBYMODE;
else
p = STR_NULL;
pa[2] = p;
@@
-470,5
+469,4
@@
API int display_unlock_state(unsigned int s_bits, unsigned int flag)
_D("%s-%s : %d", DEVICED_INTERFACE_DISPLAY, METHOD_UNLOCK_STATE, val);
return val;
-
}