commit | 8f22306ea4fda314fb6767e6aa36328a7c6c5d5b | [log] [tgz] |
---|---|---|
author | Brian Duddie <bduddie@google.com> | Fri May 27 10:19:27 2022 -0700 |
committer | Brian Duddie <bduddie@google.com> | Fri May 27 17:23:26 2022 +0000 |
tree | b16dfe1dba9c1783476bdb757e5d8bc0a808e835 | |
parent | 03a6527d723e044729ec2f3aded6501adbf76f2e [diff] |
Fix head tracker feature and sensor type pairing Since the head tracker sensor is primarily intended to be exposed via dynamic sensors, we shouldn't assert that the sensor is present in the static sensors list. Instead, assert that the dynamic sensor feature is supported. Bug: 233755609 Test: atest SystemFeaturesTest#testSensorFeatures on device declaring the feature Change-Id: I701b737cea46cefd6c741fdbc87fa154deb44f25