Index: build/android/adb_install_apk.py |
diff --git a/build/android/adb_install_apk.py b/build/android/adb_install_apk.py |
index 011509bb38eb6cb6848d1db4ce69cfd5fc932a83..a816bd403f8cc5c13d589728b10f20e3416b7d32 100755 |
--- a/build/android/adb_install_apk.py |
+++ b/build/android/adb_install_apk.py |
@@ -104,12 +104,12 @@ def main(): |
except device_errors.CommandFailedError: |
logging.exception('Failed to install %s', args.apk_name) |
if blacklist: |
- blacklist.Extend([str(device)]) |
+ blacklist.Extend([str(device)], reason='install_failure') |
logging.warning('Blacklisting %s', str(device)) |
except device_errors.CommandTimeoutError: |
logging.exception('Timed out while installing %s', args.apk_name) |
if blacklist: |
- blacklist.Extend([str(device)]) |
+ blacklist.Extend([str(device)], reason='install_timeout') |
logging.warning('Blacklisting %s', str(device)) |
device_utils.DeviceUtils.parallel(devices).pMap(blacklisting_install) |