| commit | e977b2107748f0518f421af2053713d656075bbe | [log] [tgz] |
|---|---|---|
| author | Dima Zavin <dima@android.com> | Sun Oct 14 00:16:58 2012 -0700 |
| committer | Iliyan Malchev <malchev@google.com> | Tue Oct 16 12:53:25 2012 -0700 |
| tree | cd03a8839299f580392ebe1f60e1ac04c3d9a080 | |
| parent | b0e251275cc87c611784ae0e1342f15e5fa453b7 [diff] |
input: keyreset: add support for reset after timeout If a timeout is requested, a delayed work item will be scheduled to restart the device. If the keys are released before the timeout expires, the reset is aborted. As expected, the reset_fn can be used to reset the device after the timeout. Bug: 7344361 Change-Id: I1d77cdb3dcc63f579b1250506f0a30de1e033d67 Signed-off-by: Dima Zavin <dima@android.com>