Index: tools/telemetry/telemetry/core/platform/profiler/android_profiling_helper.py |
diff --git a/tools/telemetry/telemetry/core/platform/profiler/android_profiling_helper.py b/tools/telemetry/telemetry/core/platform/profiler/android_profiling_helper.py |
index f2e21440385eb434bb870307841356d9be3dcbbc..8b640939ca615517f0cf5c3c671c0207a4f631d6 100644 |
--- a/tools/telemetry/telemetry/core/platform/profiler/android_profiling_helper.py |
+++ b/tools/telemetry/telemetry/core/platform/profiler/android_profiling_helper.py |
@@ -36,7 +36,7 @@ def _ElfSectionMd5Sum(elf_file, section): |
def _FindMatchingUnstrippedLibraryOnHost(device, lib): |
lib_base = os.path.basename(lib) |
- device_md5 = device.old_interface.RunShellCommandWithSU('md5 "%s"' % lib)[0] |
+ device_md5 = device.RunShellCommand('md5 "%s"' % lib, root=True)[0] |
device_md5 = device_md5.split(' ', 1)[0] |
def FindMatchingStrippedLibrary(out_path): |