| Index: build/android/pylib/perf/perf_control.py
|
| diff --git a/build/android/pylib/perf/perf_control.py b/build/android/pylib/perf/perf_control.py
|
| index 03c20bdc696dc06addaf268f520e20347eafa64d..73cb2aa320aa84c4577a3ffc53d7e35d21a640bc 100644
|
| --- a/build/android/pylib/perf/perf_control.py
|
| +++ b/build/android/pylib/perf/perf_control.py
|
| @@ -46,7 +46,7 @@ class PerfControl(object):
|
|
|
| def SetDefaultPerfMode(self):
|
| """Sets the performance mode for the device to its default mode."""
|
| - product_model = self._device.old_interface.GetProductModel()
|
| + product_model = self._device.GetProp('ro.product.model')
|
| governor_mode = {
|
| 'GT-I9300': 'pegasusq',
|
| 'Galaxy Nexus': 'interactive',
|
|
|