Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 06480bc2 authored by Andrew Lehmer's avatar Andrew Lehmer Committed by Anthony Stange
Browse files

Fix assumptions in SensorsHidlTest.NoStaleEvents

This test was making a couple of false assumptions which were causing it
to fail. The fixes are related to the following assertions:
  1. One-shot sensors do not report an initial event.
  2. Special sensors may not report an initial event.
  2. Some on-change sensors may not report an initial event.
The test now only checks for a stale event if the sensor reports an
initial event consistently.

Bug: 138758242
Test: run VtsHalSensorsV2_0TargetTest
Change-Id: I83f0cb2f6e878244f3d94ae77f64bb8ed2f78e0b
Merged-In: I83f0cb2f6e878244f3d94ae77f64bb8ed2f78e0b
(cherry picked from commit d8b212ec)
parent 250fd5c8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment