| Index: build/android/pylib/forwarder.py
|
| diff --git a/build/android/pylib/forwarder.py b/build/android/pylib/forwarder.py
|
| index f0ddb2e5a6f683e412c2ca0db8c3db0479967d3a..ad22838d87291d7d2421bb176392155c1473a759 100644
|
| --- a/build/android/pylib/forwarder.py
|
| +++ b/build/android/pylib/forwarder.py
|
| @@ -290,7 +290,7 @@ class Forwarder(object):
|
| if device_serial in self._initialized_devices:
|
| return
|
| Forwarder._KillDeviceLocked(device, tool)
|
| - device.old_interface.PushIfNeeded(
|
| + device.PushChangedFiles(
|
| self._device_forwarder_path_on_host,
|
| Forwarder._DEVICE_FORWARDER_FOLDER)
|
| cmd = '%s %s' % (tool.GetUtilWrapper(), Forwarder._DEVICE_FORWARDER_PATH)
|
| @@ -328,8 +328,7 @@ class Forwarder(object):
|
| forwarder (see valgrind_tools.py).
|
| """
|
| logging.info('Killing device_forwarder.')
|
| - if not device.old_interface.FileExistsOnDevice(
|
| - Forwarder._DEVICE_FORWARDER_PATH):
|
| + if not device.FileExists(Forwarder._DEVICE_FORWARDER_PATH):
|
| return
|
|
|
| cmd = '%s %s --kill-server' % (tool.GetUtilWrapper(),
|
|
|