aboutsummaryrefslogtreecommitdiff
path: root/mobly
diff options
context:
space:
mode:
Diffstat (limited to 'mobly')
-rw-r--r--mobly/controllers/android_device.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/mobly/controllers/android_device.py b/mobly/controllers/android_device.py
index d786738..843d8eb 100644
--- a/mobly/controllers/android_device.py
+++ b/mobly/controllers/android_device.py
@@ -149,7 +149,8 @@ def _validate_device_existence(serials):
serials: list of strings, the serials of all the devices that are expected
to exist.
"""
- valid_ad_identifiers = list_adb_devices() + list_adb_devices_by_usb_id()
+ valid_ad_identifiers = (list_adb_devices() + list_adb_devices_by_usb_id() +
+ list_fastboot_devices())
for serial in serials:
if serial not in valid_ad_identifiers:
raise Error(f'Android device serial "{serial}" is specified in '