Index: tools/telemetry/telemetry/core/platform/android_platform_backend.py |
diff --git a/tools/telemetry/telemetry/core/platform/android_platform_backend.py b/tools/telemetry/telemetry/core/platform/android_platform_backend.py |
index 01b293077df2496c3255049eaa6cc843c03ef5de..0537b4287a51b252b6ee6659bb3815803bcc1f7a 100644 |
--- a/tools/telemetry/telemetry/core/platform/android_platform_backend.py |
+++ b/tools/telemetry/telemetry/core/platform/android_platform_backend.py |
@@ -200,7 +200,7 @@ class AndroidPlatformBackend( |
def IsApplicationRunning(self, application): |
if application in _HOST_APPLICATIONS: |
return platform.GetHostPlatform().IsApplicationRunning(application) |
- return len(self._device.old_interface.ExtractPid(application)) > 0 |
+ return len(self._device.GetPids(application)) > 0 |
def CanLaunchApplication(self, application): |
if application in _HOST_APPLICATIONS: |