Merge "Add logging for high temp warning." into nyc-mr2-dev

This commit is contained in:
TreeHugger Robot
2017-01-13 20:24:47 +00:00
committed by Android (Google) Code Review

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;
}