summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeokYeon Hwang <syeon.hwang@samsung.com>2013-11-11 11:58:21 +0900
committerSeokYeon Hwang <syeon.hwang@samsung.com>2013-11-11 11:58:21 +0900
commita4c48d76362ca6751ed77fb20b938e1621c0200a (patch)
treed4cd416ec92d58652e70fbc67b61d67be8e738d8
parent40d4cf4487dface44ef1b279d90c2e7ed706fca7 (diff)
downloadpower-manager-a4c48d76362ca6751ed77fb20b938e1621c0200a.tar.gz
power-manager-a4c48d76362ca6751ed77fb20b938e1621c0200a.tar.bz2
power-manager-a4c48d76362ca6751ed77fb20b938e1621c0200a.zip
Remove W/A code for emulator.
Remove workaround code to prevent emulator from entering SLEEP. Now emulator supports SLEEP when users want and it is adjusted by emulator daemon via pmapi. Change-Id: I798c86bd7f2a1fdd92a96a136e17c594c32ad3f7 Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
-rw-r--r--pm_core.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/pm_core.c b/pm_core.c
index 55b2352..87c994e 100644
--- a/pm_core.c
+++ b/pm_core.c
@@ -98,11 +98,7 @@ static int trans_table[S_END][EVENT_END] = {
{S_START, S_START}, /* S_START */
{S_LCDDIM, S_NORMAL}, /* S_NORMAL */
{S_LCDOFF, S_NORMAL}, /* S_LCDDIM */
-#ifdef TIZEN_EMUL
- {S_LCDOFF, S_NORMAL}, /* S_LCDOFF */
-#else
{S_SLEEP, S_NORMAL}, /* S_LCDOFF */
-#endif
{S_LCDOFF, S_NORMAL}, /* S_SLEEP, When wake up by devices, go lcd_off state */
};