mirror of
https://github.com/ARM-software/devlib.git
synced 2025-09-01 09:31:53 +01:00
AndroidTarget: Add additional permission error to ignore
Also ignore any errors that granting a permission on an Android device is not permitted.
This commit is contained in:
@@ -1221,6 +1221,8 @@ class AndroidTarget(Target):
|
|||||||
pass # Ignore if unknown
|
pass # Ignore if unknown
|
||||||
elif 'has not requested permission' in e.message:
|
elif 'has not requested permission' in e.message:
|
||||||
pass # Ignore if not requested
|
pass # Ignore if not requested
|
||||||
|
elif 'Operation not allowed' in e.message:
|
||||||
|
pass # Ignore if not allowed
|
||||||
else:
|
else:
|
||||||
raise
|
raise
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user