Do not handle HW key event when screen is off 25/210225/3
authorYunjin Lee <yunjin-.lee@samsung.com>
Tue, 16 Jul 2019 05:45:56 +0000 (14:45 +0900)
committerYunjin Lee <yunjin-.lee@samsung.com>
Wed, 7 Aug 2019 09:34:39 +0000 (18:34 +0900)
commit6dc999562ad2cdf9c9e354a3be7173fe6b1dc60c
treed468526149108ce0f696be89795756afe5c51547
parent22807b9da4072abade5358d230d870fd246a38c9
Do not handle HW key event when screen is off

- Current askuser handles HW key events regardless of screen status so
it processes HW key input to wake up screen-offed device as 'deny once'
response. Hence modify it to distinguish focused and unfocused status
and handle HW key input accordingly.

Change-Id: I5b9073c557c19cdb01314783e154e44f5b4775c4
Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
src/notification-daemon/ui/Popupper.cpp
src/notification-daemon/ui/Popupper.h