Add logging for high temp warning.

am: 6c08f8da09

Change-Id: Id567e12b8eb6b85ab49ace003c03b80759073687
This commit is contained in:
Andrew Sapperstein
2017-01-13 20:28:35 +00:00
committed by android-build-merger

View File

@@ -255,6 +255,7 @@ public class PowerUI extends SystemUI {
boolean shouldShowTempWarning = false;
for (float temp : temps) {
if (temp >= mThrottlingTemp) {
Slog.i(TAG, "currentTemp=" + temp + ", throttlingTemp=" + mThrottlingTemp);
shouldShowTempWarning = true;
break;
}