@cas @dylanvanassche #Phosh avoids accidental input on phone calls via the proximity sensor. You can use mobile-setting's "Sensor" panel to easily check if that would work for your hardware.
Open the panel and move your hand over the sensor to check if it jumps from "far" to "near". If not you need to tweak the near value for your hw.