Use vintf fragment for ranchu hwcomposer
Bug: b/201578179
Test: m
Change-Id: I829c5c44990a8ba94809f7cf4192e063dfa442f1
diff --git a/system/hwc2/Android.mk b/system/hwc2/Android.mk
index be171d9..4f1be50 100644
--- a/system/hwc2/Android.mk
+++ b/system/hwc2/Android.mk
@@ -85,6 +85,7 @@
LOCAL_MODULE := hwcomposer.ranchu
LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0
LOCAL_LICENSE_CONDITIONS := notice
+LOCAL_VINTF_FRAGMENTS := android.hardware.graphics.composer@2.3.xml
LOCAL_NOTICE_FILE := $(LOCAL_PATH)/../../LICENSE
LOCAL_MODULE_TAGS := optional
diff --git a/system/hwc2/android.hardware.graphics.composer@2.3.xml b/system/hwc2/android.hardware.graphics.composer@2.3.xml
new file mode 100644
index 0000000..07bb8d7
--- /dev/null
+++ b/system/hwc2/android.hardware.graphics.composer@2.3.xml
@@ -0,0 +1,11 @@
+<manifest version="1.0" type="device">
+ <hal format="hidl">
+ <name>android.hardware.graphics.composer</name>
+ <transport>hwbinder</transport>
+ <version>2.3</version>
+ <interface>
+ <name>IComposer</name>
+ <instance>default</instance>
+ </interface>
+ </hal>
+</manifest>
diff --git a/system/hwc2/android.hardware.graphics.composer@2.4.xml b/system/hwc2/android.hardware.graphics.composer@2.4.xml
new file mode 100644
index 0000000..7f37bbd
--- /dev/null
+++ b/system/hwc2/android.hardware.graphics.composer@2.4.xml
@@ -0,0 +1,11 @@
+<manifest version="1.0" type="device">
+ <hal format="hidl">
+ <name>android.hardware.graphics.composer</name>
+ <transport>hwbinder</transport>
+ <version>2.4</version>
+ <interface>
+ <name>IComposer</name>
+ <instance>default</instance>
+ </interface>
+ </hal>
+</manifest>