Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2826)

Unified Diff: build/android/pylib/local/device/local_device_instrumentation_test_run.py

Issue 1316803004: [Android] Set permission when installing apks. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « build/android/pylib/instrumentation/test_package.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 = [
« no previous file with comments | « build/android/pylib/instrumentation/test_package.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698