check_processes is already called via default_check.
ex) default_check -> makeup_trans_condition -> check_processes
Change-Id: Ie867584ce8c3571fbd2c424ea1a715201864d8ad
Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
/* There is a condition. */
_I("%s locked. Trans to %s failed.", states[get_pm_cur_state()].name,
states[next_state].name);
- if (!check_processes(get_pm_cur_state())) {
- /* This is valid condition
- * The application that sent the condition is running now. */
- return -1;
- }
+ return -1;
}
/* state transition */
/* There is a condition. */
_I("%s locked. Trans to %s failed.", states[get_pm_cur_state()].name,
states[next_state].name);
- if (!check_processes(get_pm_cur_state())) {
- /* This is valid condition
- * The application that sent the condition is running now. */
- return -1;
- }
+ return -1;
}
/* state transition */
/* There is a condition. */
_I("%s locked. Trans to %s failed.", states[get_pm_cur_state()].name,
states[next_state].name);
- if (!check_processes(get_pm_cur_state())) {
- /* This is valid condition
- * The application that sent the condition is running now. */
- return -1;
- }
+ return -1;
}
/* state transition */
/* There is a condition. */
_I("%s locked. Trans to %s failed.", states[get_pm_cur_state()].name,
states[next_state].name);
- if (!check_processes(get_pm_cur_state())) {
- /* This is valid condition
- * The application that sent the condition is running now. */
- return -1;
- }
+ return -1;
}
ret = is_lcdon_blocked();