commit | cd4d9abdcc710462dfb8efa6ce3f5753f1fc7573 | [log] [tgz] |
---|---|---|
author | Anthony Stange <stange@google.com> | Thu Apr 09 11:05:46 2020 -0400 |
committer | Anthony Stange <stange@google.com> | Thu Apr 09 11:07:56 2020 -0400 |
tree | ccc8f15c05e2a50431f72f6ad10b2c8f0aab1887 | |
parent | 68948013ca7eb70757930bbeeb2f3e4b7bf70f6f [diff] |
Don't modify -1 sensorHandle value A -1 sensorHandle value is used to denote all active sensors should be stopped for a given channel. Make sure the multi-HAL code doesn't modify handles of this value or it'll corrupt them before passing to the direct channel sub-HAL. Bug: 153413565 Test: atest VtsHalSensorsV2_0Target Change-Id: I3fe9cbf4661aa3db4ff534765d5112a193b7bf4a