| Index: build/android/pylib/forwarder.py
|
| diff --git a/build/android/pylib/forwarder.py b/build/android/pylib/forwarder.py
|
| index ad22838d87291d7d2421bb176392155c1473a759..b19c99e67260bd9f6ef8a6fc30092c05e3ea171f 100644
|
| --- a/build/android/pylib/forwarder.py
|
| +++ b/build/android/pylib/forwarder.py
|
| @@ -341,9 +341,7 @@ class Forwarder(object):
|
| # 'kill-server') is not running on the bots anymore.
|
| timeout_sec = 5
|
| try:
|
| - device.KillAll(
|
| - 'device_forwarder', blocking=True, timeout=timeout_sec)
|
| + device.KillAll('device_forwarder', blocking=True, timeout=timeout_sec)
|
| except device_errors.CommandFailedError:
|
| - pids = device.old_interface.ExtractPid('device_forwarder')
|
| - if pids:
|
| + if device.GetPids('device_forwarder'):
|
| raise
|
|
|