commit | b4373ac9f53e3a6edee915715101d535e1a851a1 | [log] [tgz] |
---|---|---|
author | Aravind Akella <aakella@google.com> | Wed Oct 29 17:55:20 2014 -0700 |
committer | Aravind Akella <aakella@google.com> | Sat Nov 01 18:19:25 2014 -0700 |
tree | ccdf5aa6d93f623f2513a22728bb9bd800e61db8 | |
parent | 70ec2941530766bdca09ef2983a3ff794c028ee6 [diff] |
Add a timeout for releasing SensorService wake_lock. If SensorService is holding a wake_lock and there are no acknowledgements from ANY app within 5 seconds, release the wake_lock and reset the wake_lock refcounts for all connections. Bug: 16874240 Change-Id: I5e950dd393c20173c439cbd5a4ba614ee09d61f4