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 eacad08d30cfb571586a5be801bce72512db687c..88a93c83f5af7abd440b731b25b47461b63d6f6f 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 |
@@ -66,8 +66,10 @@ class LocalDeviceInstrumentationTestRun( |
return d |
def individual_device_set_up(dev, host_device_tuples): |
- dev.Install(self._test_instance.apk_under_test) |
- dev.Install(self._test_instance.test_apk) |
+ dev.Install(self._test_instance.apk_under_test, |
+ permissions=self._test_instance.apk_under_test_permissions) |
+ dev.Install(self._test_instance.test_apk, |
+ permissions=self._test_instance.test_permissions) |
external_storage = dev.GetExternalStoragePath() |
host_device_tuples = [ |