Disable or override Power button onClick method
I'm working on application which shouldn't allow action like switching off
screen which is performed by clicking power button. There could be long
click action on this button still working. Anyone know how to disable
switch off screen in application setting flag KEEP_SCREEN_ON didn't block
it.
Thank you in advance.
No comments:
Post a Comment