mirror of
https://github.com/ARM-software/devlib.git
synced 2025-01-31 02:00:45 +00:00
AndroidTarget: Skip ungrantable Android permission
Don't throw an error if attempting to grant a permission that is not manageable.
This commit is contained in:
parent
9f71c818c4
commit
b8bf2abf3b
@ -2110,6 +2110,8 @@ class AndroidTarget(Target):
|
||||
pass # Ignore if not requested
|
||||
elif 'Operation not allowed' in e.message:
|
||||
pass # Ignore if not allowed
|
||||
elif 'is managed by role' in e.message:
|
||||
pass # Ignore if cannot be granted
|
||||
else:
|
||||
raise
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user