projects
/
platform
/
core
/
api
/
device.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5be07a7
)
Fix device_display_get_state() to consider VCONFKEY_PM_STATE_SLEEP
46/224346/1
accepted/tizen/unified/20200211.055754
submit/tizen/20200210.060410
author
Hyotaek Shim
<hyotaek.shim@samsung.com>
Mon, 10 Feb 2020 04:59:10 +0000
(13:59 +0900)
committer
Hyotaek Shim
<hyotaek.shim@samsung.com>
Mon, 10 Feb 2020 04:59:10 +0000
(13:59 +0900)
Change-Id: I28d795a81e3ec44ef28731d5bc6abc37f03f05df
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
src/display.c
patch
|
blob
|
history
diff --git
a/src/display.c
b/src/display.c
index
3e23386
..
6be39bb
100644
(file)
--- a/
src/display.c
+++ b/
src/display.c
@@
-204,7
+204,7
@@
int device_display_get_state(display_state_e *state)
*state = DISPLAY_STATE_NORMAL;
else if (val == VCONFKEY_PM_STATE_LCDDIM)
*state = DISPLAY_STATE_SCREEN_DIM;
- else if (val == VCONFKEY_PM_STATE_LCDOFF)
+ else if (val == VCONFKEY_PM_STATE_LCDOFF
|| val == VCONFKEY_PM_STATE_SLEEP
)
*state = DISPLAY_STATE_SCREEN_OFF;
else
return DEVICE_ERROR_OPERATION_FAILED;