Phone heated up and drained down to 5% with a buggy app or KitKat, potential damage?
I'm on a 2 week old AT&T G2 running the official KitKat (via OTA). Today I had an incident where I had torch on (via the Google Play app store, app named Torch written by Santoso Wijaya), then left it to auto turn off. However, apparently either the app or KK has a bug that caused the phone to heat up with the app running in the foreground while both the screen and the camera LED were off. By the time I felt it in my pocket, the phone had become toasty hot, and battery had drained from about 40% to 5% over a span of about an hour, but the phone did not shut itself down. I immediately rebooted it myself.
My question is: is the heat most likely caused by the CPU running at 100%? Is it likely to cause any damage given the scenario? Shouldn't the phone auto shut down to protect itself since it was running so hot (by the way it was *really* hot, like much hotter than the phone ever felt to me, even when I was playing games over LTE etc), or was it still not hot enough for that (which hopefully means it was safe?)?
Thanks for your inputs.