| Index: tools/ThermalManager.cpp
|
| diff --git a/tools/ThermalManager.cpp b/tools/ThermalManager.cpp
|
| index 7a3911d80ca94bffbd6a410e54ed33bc78d775ca..36f74680022b0055fb7618ef5caec2f100399213 100644
|
| --- a/tools/ThermalManager.cpp
|
| +++ b/tools/ThermalManager.cpp
|
| @@ -94,9 +94,9 @@ ThermalManager::TripPoint::TripPoint(SkString thermalZoneRoot, SkString pointNam
|
| fullPath.appendf("/%s", pointName.c_str());
|
| fPoint = OpenFileAndReadInt32(fullPath.c_str());
|
| fBase = GetTemp(fThermalZoneRoot);
|
| + fThreshold = threshold;
|
| fDisabled = fBase >= fPoint + fThreshold; // We disable any trip point which start off
|
| // triggered
|
| - fThreshold = threshold;
|
| if (!fDisabled) {
|
| SkDebugf("Trip point %s base - %d trip point-%d\n", fullPath.c_str(),
|
| fBase, fPoint);
|
|
|