What phone model?
I had a moto z that used pogo pins to connect the top screen proximity sensors, that after the adhesive weakend holding the thing together, lost contact.
That was the only time I had an android phone fail to block input when I was on a call...