commit | ccfe555a7c6eceaa4110b6ec485cb0abacc3d673 | [log] [tgz] |
---|---|---|
author | Jim Kaye <jameskaye@google.com> | Wed May 10 17:20:42 2017 -0700 |
committer | Jim Kaye <jameskaye@google.com> | Thu May 11 21:14:02 2017 +0000 |
tree | cb5e8816d1a421167c24130dd394c1959c62dea1 | |
parent | 06e141a637136930282d31c2d59a871bb4f11846 [diff] |
Fix the 'flush' function for emulated sensors Flush operations could get lost by being overwritten if a sensor value arrives before the 'flush' is seen. This CL prevents overwriting the 'flush' if it hasn't been accepted. With this change, all 51 'SensorBatchingTests' pass. Bug: 37465457 Test: CTS: CtsSensorTestCases android.hardware.cts.SensorBatchingTests Change-Id: Iabf58ce0868f1470a8aa4b2c2b845dc30ca466cf (cherry picked from commit 9ca9f56b11340307425ac09a497cde29af025cc6)