Send wake event to ISensorHalWrapper fmq when switching to Hal Bypass Mode
When switching from NORMAL to HAL_BYPASS_REPLAY_DATA_INJECTION mode, the ISensorHalWrapper::pollFmq() method continues to wait for sensor events. Since the sensors are disabled when switching to Hal Bypass mode, the polling thread may continue to wait on the fmq indefinitely. Send an internal wake event to the fmq when switching to Hal Bypass mode so that the thread drops out of pollFmq() and enters the branch for accepting injected replay data. Bug: 326433087 Test: manual Change-Id: I984e55f64469cfac1c9156ea4660fc1dc4818695
Loading
Please register or sign in to comment