Skip to content

Draft: Do proper locking, updating of proximity values, add device quirks code

Flo Lee requested to merge fix-proximity-handling into main
  • After incoming notifications repowerd needs to know if its allowed to turn on the screen
  • It simply calls proximity_state() on the underlying sensor plugin
  • This triggered a spinup of the sensor in the legacy plugin for the Android HAL direct access
  • Now after changing to sensorfw this does no longer work
  • repowerd receives the last valid value BEFORE device went to sleep, and thats almost always "proximity far"
Edited by Flo Lee

Merge request reports