revoke Permissions
Revokes all or listed permissions for a specific application
Return
Const.EXECUTE_COMPLETE - function completed
Const.LIST_IS_EMPTY - The list passed to the function is empty. Function failed
Const.FUNCTION_NOT_SUPPORTED_ERROR - Function not supported. Function failed
Const.APPLICATION_NOT_INSTALLED - The specified application was not found on the device. Function failed
Parameters
app
Package name or application name
permissions
List of specific permissions. If the first element is "all", the function will revoke all permissions