| 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 a125e72fbd78a2fb1f77397bf57a0ff9db86f6c5..24e1ff4c0048c88e8f72f6d4ca58a07f0e1c2e2c 100644
|
| --- a/build/android/pylib/perf/thermal_throttle.py
|
| +++ b/build/android/pylib/perf/thermal_throttle.py
|
| @@ -99,7 +99,7 @@ class ThermalThrottle(object):
|
| if not self._detector:
|
| return False
|
| has_been_throttled = False
|
| - serial_number = self._device.old_interface.GetDevice()
|
| + serial_number = str(self._device)
|
| log = self._device.RunShellCommand('dmesg -c')
|
| degree_symbol = unichr(0x00B0)
|
| for line in log:
|
|
|