mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-02-20 20:09:11 +00:00
Ignore exception for non-fatal permission grant failure
This commit is contained in:
parent
ff2f88fbd7
commit
f6b8fd3f4b
@ -341,7 +341,7 @@ class ApkWorkload(Workload):
|
||||
try:
|
||||
self.device.execute("pm grant {} {}".format(self.package, permission))
|
||||
except DeviceError as e:
|
||||
if "not a changeable permission" in e.message:
|
||||
if "changeable permission" in e.message or "Unknown permission" in e.message:
|
||||
self.logger.debug(e)
|
||||
else:
|
||||
raise e
|
||||
|
Loading…
x
Reference in New Issue
Block a user