commit | e7bd2580e55c618e98fd95619f2e4e44a9d6a332 | [log] [tgz] |
---|---|---|
author | Nick Vaccaro <nvaccaro@google.com> | Fri Oct 17 20:32:10 2014 -0700 |
committer | Nick Vaccaro <nvaccaro@google.com> | Fri Oct 17 20:45:46 2014 -0700 |
tree | e1d68c6d3830129332b41c455a2e0d91b58a7cdd | |
parent | 199449a4c52ff30e2804ab0bccf99b466c594c7c [diff] |
sensors: mpu6515: grab wakelock on significant motion event The kernel sensor driver grabs a half second wakelock to allow time for this HAL to read the significant motion event from the kernel and grab its own wakelock. The HAL holds the wakelock until Sensor Services calls poll() again, assuring that Sensor Services has read the SMD event and will have grabbed its own wakelock. Bug: 16540661 Change-Id: I1c88cd9386a9f711e6cba81a14539b835f4e7414