i believe the sensor is to the left of the ear speaker - so likely if your case covers the area above the screen at all, it would be confusing it.
I had been looking at a case at Apple that had a cutout for the speaker plus the extra cutouts between the speaker and the left edge, and the apple sales guy said even with those extra cutouts, he had heard of others having issues with the sensor and urged against any covering that area at all.