config: device_framework_matrix: Add vendor.lineage.health

Change-Id: I91ee2a15ee2f68947f220ab6e885b9049936acb2
diff --git a/config/common.mk b/config/common.mk
index 535363e..ecc5031 100644
--- a/config/common.mk
+++ b/config/common.mk
@@ -108,6 +108,10 @@
 PRODUCT_COPY_FILES += \
     vendor/omni/prebuilt/etc/permissions/org.lineageos.health.xml:$(TARGET_COPY_OUT_PRODUCT)/etc/permissions/org.lineageos.health.xml
 
+# HIDL
+DEVICE_FRAMEWORK_COMPATIBILITY_MATRIX_FILE += \
+      vendor/omni/config/manifest/omni_vendor_framework_compatibility_matrix.xml
+
 # Set support one-handed mode
 PRODUCT_PRODUCT_PROPERTIES += \
     ro.support_one_handed_mode=true
diff --git a/config/manifest/omni_vendor_framework_compatibility_matrix.xml b/config/manifest/omni_vendor_framework_compatibility_matrix.xml
new file mode 100644
index 0000000..a9dec56
--- /dev/null
+++ b/config/manifest/omni_vendor_framework_compatibility_matrix.xml
@@ -0,0 +1,24 @@
+<!-- Copyright (C) 2021 Paranoid Android
+
+     Licensed under the Apache License, Version 2.0 (the "License");
+     you may not use this file except in compliance with the License.
+     You may obtain a copy of the License at
+
+          http://www.apache.org/licenses/LICENSE-2.0
+
+     Unless required by applicable law or agreed to in writing, software
+     distributed under the License is distributed on an "AS IS" BASIS,
+     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+     See the License for the specific language governing permissions and
+     limitations under the License.
+-->
+<compatibility-matrix version="2.0" type="framework">
+    <!-- Health -->
+    <hal format="aidl" optional="true">
+        <name>vendor.lineage.health</name>
+        <interface>
+            <name>IChargingControl</name>
+            <instance>default</instance>
+        </interface>
+    </hal>
+</compatibility-matrix>