lights: Move version above fqname

system/libvintf/xsd/halManifest/vts/ValidateHalManifest.cpp:76: Failure
XML is not valid according to the xsd
While validating: (dir_path + "/"s + file_name).c_str()
Which is: /vendor/etc/vintf/manifest/android.hardware.lights-service.tangorpro.xml
Against the schema: xsd
Which is: /data/local/tmp/hal_manifest.xsd
Libxml2 errors:
Error: Element 'version': This element is not expected. Expected is ( fqname ).

Bug: 245442303
Test: Function works as expected
Change-Id: I51c94c509271caa13cd5e7b97c11a3ed866e4e95
This commit is contained in:
Chungjui Fan 2022-09-19 06:14:13 +00:00
parent e93b23905f
commit 55da5747a6

View file

@ -1,7 +1,7 @@
<manifest version="1.0" type="device"> <manifest version="1.0" type="device">
<hal format="aidl"> <hal format="aidl">
<name>android.hardware.light</name> <name>android.hardware.light</name>
<fqname>ILights/default</fqname>
<version>2</version> <version>2</version>
<fqname>ILights/default</fqname>
</hal> </hal>
</manifest> </manifest>