Pixhawk and baro

What is the protection in the pixhawk for propwash and light vs the apm
I want to know this because in the current apm this is the main flaw design for altitude holding

The case is black so no light can get through. Similar to the APM the Pixhawk has the foam inside the case to try and reduce the possibility of wind directly hitting the baro.