Index: build/android/pylib/remote/device/remote_device_environment.py |
diff --git a/build/android/pylib/remote/device/remote_device_environment.py b/build/android/pylib/remote/device/remote_device_environment.py |
index 256118098f409c1f622a76300e51be53817f4095..6e75afa33debac93af35f2193055566b766bd7a7 100644 |
--- a/build/android/pylib/remote/device/remote_device_environment.py |
+++ b/build/android/pylib/remote/device/remote_device_environment.py |
@@ -302,7 +302,8 @@ class RemoteDeviceEnvironment(environment.Environment): |
def _NoDeviceFound(self): |
self._PrintAvailableDevices(self._GetDeviceList()) |
- raise remote_device_helper.RemoteDeviceError('No device found.') |
+ raise remote_device_helper.RemoteDeviceError( |
+ 'No device found.', is_infra_error=True) |
@property |
def collect(self): |