Samsung uses their own com.samsung.sensor.physical_proximity type instead of SENSOR_TYPE_PROXIMITY of Android. This makes proximity sensor unavailable for us as we only look for SENSOR_TYPE_PROXIMITY. Thus, this change maps Samsung's vendor-specific proximity sensor type to generic one. Change-Id: I64f6558876e1398dfbea0e5c0eb76aa1aafd2dfd Signed-off-by: Jesse Chan <jc@lineageos.org>tirimbino
parent
834dfaa39b
commit
80c90e970e
Loading…
Reference in new issue