Remove W/A code for emulator. 02/12002/1
authorSeokYeon Hwang <syeon.hwang@samsung.com>
Mon, 11 Nov 2013 02:58:21 +0000 (11:58 +0900)
committerSeokYeon Hwang <syeon.hwang@samsung.com>
Mon, 11 Nov 2013 02:58:21 +0000 (11:58 +0900)
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>
pm_core.c

index 55b2352..87c994e 100644 (file)
--- 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  */
 };