Index: tools/telemetry/telemetry/core/platform/profiler/tcmalloc_heap_profiler.py |
diff --git a/tools/telemetry/telemetry/core/platform/profiler/tcmalloc_heap_profiler.py b/tools/telemetry/telemetry/core/platform/profiler/tcmalloc_heap_profiler.py |
index 35043f7d17f48895343a59cff84b1354c5ad1474..3bbe6bf823fea02ea4f64a7c62e8649e2215e2b9 100644 |
--- a/tools/telemetry/telemetry/core/platform/profiler/tcmalloc_heap_profiler.py |
+++ b/tools/telemetry/telemetry/core/platform/profiler/tcmalloc_heap_profiler.py |
@@ -36,9 +36,9 @@ class _TCMallocHeapProfilerAndroid(object): |
# This profiler requires adb root to set properties. |
self._browser_backend.adb.device().old_interface.EnableAdbRoot() |
for values in properties.itervalues(): |
- device_property = self._browser_backend.adb.system_properties[values[0]] |
+ device_property = self._browser_backend.adb.device().GetProp(values[0]) |
if not device_property or not device_property.strip(): |
- self._browser_backend.adb.system_properties[values[0]] = values[1] |
+ self._browser_backend.adb.device().SetProp(values[0], values[1]) |
device_configured = True |
if not self._browser_backend.adb.device().FileExists( |
self._DEFAULT_DEVICE_DIR): |