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..3b0c029c089e761896584322eefbfd0f4d8164f9 100644 |
--- a/build/android/pylib/remote/device/remote_device_environment.py |
+++ b/build/android/pylib/remote/device/remote_device_environment.py |
@@ -183,6 +183,7 @@ class RemoteDeviceEnvironment(environment.Environment): |
os.environ['APPURIFY_API_PROTO'] = self._api_protocol |
os.environ['APPURIFY_API_HOST'] = self._api_address |
os.environ['APPURIFY_API_PORT'] = self._api_port |
+ os.environ['APPURIFY_STATUS_BASE_URL'] = 'none' |
self._GetAccessToken() |
if self._trigger: |
self._SelectDevice() |
@@ -302,7 +303,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): |