Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(304)

Unified Diff: telemetry/telemetry/internal/platform/android_platform_backend.py

Issue 3018503002: Fix telemetry's IsBrowserRunning check (Closed)
Patch Set: Use GetApplicationPids Created 3 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: telemetry/telemetry/internal/platform/android_platform_backend.py
diff --git a/telemetry/telemetry/internal/platform/android_platform_backend.py b/telemetry/telemetry/internal/platform/android_platform_backend.py
index 79a420530a6b80ac545a8f876b5c86144fec1f50..185fb13d395a3735b68016e8edf272f30db20908 100644
--- a/telemetry/telemetry/internal/platform/android_platform_backend.py
+++ b/telemetry/telemetry/internal/platform/android_platform_backend.py
@@ -557,7 +557,7 @@ class AndroidPlatformBackend(
Args:
process_name: The full package name string of the process.
"""
- return bool(self._device.GetPids(process_name))
+ return bool(self._device.GetApplicationPids(process_name))
@property
def supports_test_ca(self):
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698