diff options
author | mked-luxoft <mked@luxoft.com> | 2019-08-13 15:52:09 +0300 |
---|---|---|
committer | Andriy Byzhynar (GitHub) <AByzhynar@luxoft.com> | 2019-08-20 21:17:13 +0300 |
commit | c4cc7348bc95bb4c010ddb0f071dafd36476e893 (patch) | |
tree | bbad97c2d5264c45760aefe252508a5729a2b701 | |
parent | aed346ced212261395ccc03dd99f88520b53e56c (diff) | |
download | sdl_core-c4cc7348bc95bb4c010ddb0f071dafd36476e893.tar.gz |
fixup! Update Mobile & HMI API with new data types and parameters
-rw-r--r-- | src/components/interfaces/MOBILE_API.xml | 5 | ||||
-rwxr-xr-x | tools/InterfaceGenerator/generator/parsers/RPCBase.py | 2 |
2 files changed, 5 insertions, 2 deletions
diff --git a/src/components/interfaces/MOBILE_API.xml b/src/components/interfaces/MOBILE_API.xml index 51cb565881..db246f8280 100644 --- a/src/components/interfaces/MOBILE_API.xml +++ b/src/components/interfaces/MOBILE_API.xml @@ -2237,7 +2237,10 @@ <param name="parameterPermissions" type="ParameterPermissions" mandatory="true"/> </struct> - <struct name="DisplayCapabilities" since="1.0"> + <struct name="DisplayCapabilities" deprecated="true" since="6.0"> + <history> + <struct name="DisplayCapabilities" since="1.0" until="6.0"/> + </history> <description>Contains information about the display capabilities.</description> <param name="displayType" type="DisplayType" mandatory="true" deprecated="true" since="5.0"> <description>The type of the display. See DisplayType</description> diff --git a/tools/InterfaceGenerator/generator/parsers/RPCBase.py b/tools/InterfaceGenerator/generator/parsers/RPCBase.py index 21f07e6ac5..955de31dc7 100755 --- a/tools/InterfaceGenerator/generator/parsers/RPCBase.py +++ b/tools/InterfaceGenerator/generator/parsers/RPCBase.py @@ -270,7 +270,7 @@ class Parser(object): result = self._parse_version(attrib[attribute]) until = result elif attribute == "deprecated": - deprecated = attributes[attribute] + deprecated = attrib[attribute] elif attribute == "removed": removed = attrib[attribute] else: |