diff options
author | taeyoung <ty317.kim@samsung.com> | 2016-10-20 16:24:17 +0900 |
---|---|---|
committer | taeyoung <ty317.kim@samsung.com> | 2016-10-20 16:24:17 +0900 |
commit | f31967a457187c7058e617c1f6ee17e4a6e24316 (patch) | |
tree | ffd43714873cde463b7099925de5a70b488e67f8 | |
parent | 6115ee36e85e6f7f5f02a00a0d77790b0fb0fd71 (diff) | |
download | deviced-f31967a457187c7058e617c1f6ee17e4a6e24316.tar.gz deviced-f31967a457187c7058e617c1f6ee17e4a6e24316.tar.bz2 deviced-f31967a457187c7058e617c1f6ee17e4a6e24316.zip |
display: do not change next state by timeout when Alwayson is enabledsubmit/tizen_3.0/20161028.082423submit/tizen_3.0/20161028.062323submit/tizen/20161020.082648accepted/tizen/wearable/20161020.125349accepted/tizen/tv/20161020.125319accepted/tizen/mobile/20161020.125300accepted/tizen/ivi/20161020.125409accepted/tizen/common/20161020.173434accepted/tizen/3.0/wearable/20161028.133726accepted/tizen/3.0/tv/20161028.133422accepted/tizen/3.0/mobile/20161028.133119accepted/tizen/3.0/ivi/20161028.134000
- If the next state of display is same with the current state,
display timeout cannot be reset since there is no timeout with
this state change. No time occurs the display state change.
- When display timeout is set 0 by setting app, Alwayson is enabled
and the next state of LCDON is changed to LCDON. Thus display is
turned on during turning off the display (before updating
display state)
- The issue is fixed by skipping update the next state of the LCDON
even if Alwayson is enabled.
Change-Id: Icd38221374789a63e2d01222ef3f3eed1b283968
Signed-off-by: taeyoung <ty317.kim@samsung.com>
-rw-r--r-- | src/display/core.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/display/core.c b/src/display/core.c index e04ea8b3..0aa2bd2b 100644 --- a/src/display/core.c +++ b/src/display/core.c @@ -733,11 +733,9 @@ static void update_display_time(void) * if the run_timeout is zero, it regards AlwaysOn state */ if (run_timeout == 0 || display_conf.lcd_always_on) { - trans_table[S_NORMAL][EVENT_TIMEOUT] = S_NORMAL; run_timeout = ALWAYS_ON_TIMEOUT; _I("LCD Always On"); - } else - trans_table[S_NORMAL][EVENT_TIMEOUT] = S_LCDDIM; + } states[S_NORMAL].timeout = run_timeout; |