Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bb9790c1 authored by Tejinder Singh's avatar Tejinder Singh Committed by android-build-merger
Browse files

Merge "Pixel Thermal Throttling: fix throttling constants." into pi-dev am: 3ebd957c

am: ba7af625

Change-Id: Ie63d0816715c4dd555258152f1934c3535c47c84
parents 8c74cdfb ba7af625
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -1856,7 +1856,10 @@ public class StatsCompanionService extends IStatsCompanionService.Stub {
        public void notifyThrottling(Temperature temp) {
            boolean isThrottling = temp.getStatus() >= Temperature.THROTTLING_SEVERE;
            StatsLog.write(StatsLog.THERMAL_THROTTLING, temp.getType(),
                    isThrottling ? 1 : 0, temp.getValue());
                    isThrottling ?
                            StatsLog.THERMAL_THROTTLING_STATE_CHANGED__STATE__START :
                            StatsLog.THERMAL_THROTTLING_STATE_CHANGED__STATE__STOP,
                    temp.getValue());
        }
    }
}