OSDN Git Service

powerbtnd: add poweroff.doubleclick feature ics-x86
authorChih-Wei Huang <cwhuang@linux.org.tw>
Wed, 22 Feb 2012 04:21:00 +0000 (12:21 +0800)
committerChih-Wei Huang <cwhuang@linux.org.tw>
Wed, 22 Feb 2012 04:21:00 +0000 (12:21 +0800)
commit1db28bbc387a52b50187d70f80820299cff27db5
treea4c3f956982b1af2a53646eb137cd37d989bb45b
parent394fb2b079b03de7207847ff7156533aa467ab2a
powerbtnd: add poweroff.doubleclick feature

On poweroff.doubleclick=0, one click to power button invokes poweroff
dialog directly.

On poweroff.doubleclick=1, one click to power button suspends the system,
while double click in one second invokes poweroff dialog.
Android.mk
power/powerbtnd.c