static struct timeval pressed_time;
static guint longkey_timeout_id = 0;
static guint longkey_restore_id = 0;
-static guint displayon_by_powerkey_timeout_id = 0;
static int cancel_lcdoff;
static int key_combination = KEY_COMBINATION_STOP;
static double combination_pressed_time;
case COMBINATION_TORCH:
if (diff_time <= TORCH_COMBINATION_INTERVAL) {
/* When torch combination, display control should be not change. */
- if (displayon_by_powerkey_timeout_id) {
- g_source_remove(displayon_by_powerkey_timeout_id);
- displayon_by_powerkey_timeout_id = 0;
- }
_I("Combination key : TORCH mode");
skip_combination = true;
} else