Index: tools/telemetry/telemetry/core/platform/profiler/android_traceview_profiler.py |
diff --git a/tools/telemetry/telemetry/core/platform/profiler/android_traceview_profiler.py b/tools/telemetry/telemetry/core/platform/profiler/android_traceview_profiler.py |
index 995401dd7d8d3c9ba6badbbbd55e10049aba3b4e..95794c511661c8337c411bf1a1cd896976bd4612 100644 |
--- a/tools/telemetry/telemetry/core/platform/profiler/android_traceview_profiler.py |
+++ b/tools/telemetry/telemetry/core/platform/profiler/android_traceview_profiler.py |
@@ -61,6 +61,5 @@ class AndroidTraceviewProfiler(profiler.Profiler): |
return output_files |
def _FileSize(self, file_name): |
- f = self._browser_backend.adb.device().old_interface.ListPathContents( |
- file_name) |
+ f = self._browser_backend.adb.device().Ls(file_name) |
return f.get(os.path.basename(file_name), (0, ))[0] |