Index: build/android/pylib/utils/test_environment.py |
diff --git a/build/android/pylib/utils/test_environment.py b/build/android/pylib/utils/test_environment.py |
index ccfa2d0221f4bdc4bc52eb02428277bd767d03f4..279bc4a135c6acb043712a4c3d37425029ebaf13 100644 |
--- a/build/android/pylib/utils/test_environment.py |
+++ b/build/android/pylib/utils/test_environment.py |
@@ -25,7 +25,7 @@ def CleanupLeftoverProcesses(): |
_KillWebServers() |
did_restart_host_adb = False |
for device in android_commands.GetAttachedDevices(): |
- adb = android_commands.AndroidCommands(device) |
+ adb = android_commands.AndroidCommands(device, api_strict_mode=True) |
# Make sure we restart the host adb server only once. |
if not did_restart_host_adb: |
adb.RestartAdbServer() |