Add logging for high temp warning.
Adds a log line that prints the current and throttling temps when we decide to show the notification. Test: manual Bug: 34256597 Change-Id: I4d0a1993e0b073d68fbc65f9aa765f5343a69dc5
This commit is contained in:
@@ -255,6 +255,7 @@ public class PowerUI extends SystemUI {
|
|||||||
boolean shouldShowTempWarning = false;
|
boolean shouldShowTempWarning = false;
|
||||||
for (float temp : temps) {
|
for (float temp : temps) {
|
||||||
if (temp >= mThrottlingTemp) {
|
if (temp >= mThrottlingTemp) {
|
||||||
|
Slog.i(TAG, "currentTemp=" + temp + ", throttlingTemp=" + mThrottlingTemp);
|
||||||
shouldShowTempWarning = true;
|
shouldShowTempWarning = true;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user