mirror of
https://github.com/ARM-software/devlib.git
synced 2025-07-05 13:22:42 +01: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:
@ -2110,6 +2110,8 @@ class AndroidTarget(Target):
|
|||||||
pass # Ignore if not requested
|
pass # Ignore if not requested
|
||||||
elif 'Operation not allowed' in e.message:
|
elif 'Operation not allowed' in e.message:
|
||||||
pass # Ignore if not allowed
|
pass # Ignore if not allowed
|
||||||
|
elif 'is managed by role' in e.message:
|
||||||
|
pass # Ignore if cannot be granted
|
||||||
else:
|
else:
|
||||||
raise
|
raise
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user