Does the Android OS provide any overheating protection? Apple iOS devices display the following warning and suspend operation should they overheat:


  Temperature
  
  [iDevice] needs to cool down before you can use it.


Does the Android OS contain similar functionality?

(For reference, I'm using a Nexus 7, running stock Android 4.2.2 without root or unlocked bootloader.  However, this question is intended to be device-agnostic.  I have not experienced any overheating&mdash;the tablet does get warm under load but by no means excessively so.  I'm just wondering if any protection exists at the system software level in stock Android.)
Within the BatteryManager documentation for Android there is a constant that can be used to check against that is named BATTERY_HEALTH_OVERHEAT. This would lead me to assume that there is a check that the OS does against this value, though I have never personally experienced a warning like this. I did on my old iPad, but being a recent Android convert I haven't had the time to find out about this just yet.