1
0
mirror of https://github.com/ARM-software/workload-automation.git synced 2025-01-19 04:21:17 +00:00

Merge pull request #189 from ranjeetkumar/master

Permission granted for generic browser
This commit is contained in:
Sebastian Goscik 2016-06-29 13:40:46 +01:00 committed by GitHub
commit 071bf9fba7

View File

@ -124,8 +124,8 @@ class BBench(Workload):
#On android 6+ the web browser requires permissions to access the sd card
if self.device.get_sdk_version() >= 23:
self.device.execute("pm grant com.android.browser android.permission.READ_EXTERNAL_STORAGE")
self.device.execute("pm grant com.android.browser android.permission.WRITE_EXTERNAL_STORAGE")
self.device.execute("pm grant {} android.permission.READ_EXTERNAL_STORAGE".format(self.browser_package))
self.device.execute("pm grant {} android.permission.WRITE_EXTERNAL_STORAGE".format(self.browser_package))
# Launch the background music
if self.with_audio: