Index: build/android/pylib/perf/thermal_throttle.py |
diff --git a/build/android/pylib/perf/thermal_throttle.py b/build/android/pylib/perf/thermal_throttle.py |
index 24e1ff4c0048c88e8f72f6d4ca58a07f0e1c2e2c..383b6d55f8627707d56daa0479f1e4ac1b92c2df 100644 |
--- a/build/android/pylib/perf/thermal_throttle.py |
+++ b/build/android/pylib/perf/thermal_throttle.py |
@@ -34,7 +34,7 @@ class OmapThrottlingDetector(object): |
def GetCurrentTemperature(self): |
tempdata = self._device.ReadFile(OmapThrottlingDetector.OMAP_TEMP_FILE) |
- return float(tempdata[0]) / 1000.0 |
+ return float(tempdata) / 1000.0 |
class ExynosThrottlingDetector(object): |