After screen capture (volume down + power key),
power-off system popup shows. It's timing problem.
screen capture is working when two key pressed at the same time.
If power key is pressed slightly first, power off popup timer is started.
now timer is cancelled when volume key's pressed.
Change-Id: Ic1f497591ef7cd9e3195f4c12e5d1beb3e470f50
Signed-off-by: Krzysztof Sasiak <k.sasiak@samsung.com>
ecore_timer_del(combination_timeout_id);
combination_timeout_id = NULL;
}
+ if (longkey_timeout_id > 0) {
+ ecore_timer_del(longkey_timeout_id);
+ longkey_timeout_id = NULL;
+ }
_I("capture mode");
key_combination = KEY_COMBINATION_SCREENCAPTURE;
ignore = false;