| Index: build/android/pylib/gtest/local_device_gtest_run.py
|
| diff --git a/build/android/pylib/gtest/local_device_gtest_run.py b/build/android/pylib/gtest/local_device_gtest_run.py
|
| index e7f6a121b47215d0967b816dee0ee1d2c38d1307..d3085f3596a3f7a6e279949446aace376d19b590 100644
|
| --- a/build/android/pylib/gtest/local_device_gtest_run.py
|
| +++ b/build/android/pylib/gtest/local_device_gtest_run.py
|
| @@ -56,12 +56,13 @@ class _ApkDelegate(object):
|
| self._apk = test_instance.apk
|
| self._package = test_instance.package
|
| self._runner = test_instance.runner
|
| + self._permissions = test_instance.permissions
|
|
|
| self._component = '%s/%s' % (self._package, self._runner)
|
| self._extras = test_instance.extras
|
|
|
| def Install(self, device):
|
| - device.Install(self._apk)
|
| + device.Install(self._apk, permissions=self._permissions)
|
|
|
| def Run(self, test, device, flags=None, **kwargs):
|
| extras = dict(self._extras)
|
|
|