Add 10-proximity.rules
This file fixes a flashing screen during calls even if no objects are near to the proximity sensor.
This commit is contained in:
parent
8fb95d8d39
commit
f39e10ca57
|
@ -0,0 +1,7 @@
|
||||||
|
# Copy into /etc/udev/rules.d/10-proximity.rules
|
||||||
|
|
||||||
|
# # iio-sensor-proxy
|
||||||
|
# Set PROXIMITY_NEAR_LEVEL for iio-sensor-proxy to pick up the proximity sensor
|
||||||
|
|
||||||
|
# Set the sensor type for all the types we recognise
|
||||||
|
ACTION=="add", SUBSYSTEM=="iio", TEST=="in_proximity_raw", ENV{PROXIMITY_NEAR_LEVEL}="50"
|
Loading…
Reference in New Issue