Index: build/android/pylib/local/device/local_device_instrumentation_test_run.py |
diff --git a/build/android/pylib/local/device/local_device_instrumentation_test_run.py b/build/android/pylib/local/device/local_device_instrumentation_test_run.py |
index 7ba90321b634c4d0e2a01987e9334ea12f30db56..8e2c0f3116e1a41c5e31b8da1b02d2cb38f1e590 100644 |
--- a/build/android/pylib/local/device/local_device_instrumentation_test_run.py |
+++ b/build/android/pylib/local/device/local_device_instrumentation_test_run.py |
@@ -304,7 +304,8 @@ class LocalDeviceInstrumentationTestRun( |
#override |
def _GetTests(self): |
- tests = self._test_instance.GetTests() |
+ device = self._env.devices[0] |
+ tests = self._test_instance.GetTests(device) |
tests = self._ApplyExternalSharding( |
tests, self._test_instance.external_shard_index, |
self._test_instance.total_external_shards) |