| commit | b7bfc0f87d6f914d8e7b353f848c55945d663c68 | [log] [tgz] |
|---|---|---|
| author | Brian Stack <bstack@google.com> | Tue Sep 25 09:41:16 2018 -0700 |
| committer | Brian Stack <bstack@google.com> | Tue Sep 25 15:43:19 2018 -0700 |
| tree | 35a8d97bdee4d83cc348705bd2572c1dfe363e5d | |
| parent | 7b58030e84e23d9d98e3d170712be9e79b759bcc [diff] |
Write to Wake Lock FMQ
Write the number of WAKE_UP sensor events handled by the Sensor
Service to the Wake Lock FMQ. This allows the Sensors HAL to release
its wake lock for events once the Sensor Service holds a wake lock for
the events.
Bug: 111070257
Test: Compile, configured system to use sensors@2.0 and ensured that
a_sns_test received events
Test: Ensured device with sensors@1.0 receives events as expected
Change-Id: Ide091012bdaeb2e6a9fc4f5a43ddbb298dbf3416