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

Unified Diff: build/android/buildbot/bb_device_status_check.py

Issue 56063002: [Android]: Only kill 'adb' during device status check, not all commands with adb in command line. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 1 month 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: build/android/buildbot/bb_device_status_check.py
diff --git a/build/android/buildbot/bb_device_status_check.py b/build/android/buildbot/bb_device_status_check.py
index a021bfc892b1136e13951f486db1d70ac02802ad..d01fcaad0d1e61be4a7d17e9f32aa1013a8b0f0f 100755
--- a/build/android/buildbot/bb_device_status_check.py
+++ b/build/android/buildbot/bb_device_status_check.py
@@ -256,7 +256,7 @@ def RestartUsb():
def KillAllAdb():
def GetAllAdb():
for p in psutil.process_iter():
- if 'adb' in p.name or 'adb' in ' '.join(p.cmdline):
+ if 'adb' in p.name:
yield p
for sig in [signal.SIGTERM, signal.SIGQUIT, signal.SIGKILL]:
« 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