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:
commit
071bf9fba7
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user