sdm845-common: Add support for custom hwcomposer

The one in the vendor partition has broken color transformation.

Change-Id: I93e989af5573902eb7013656268e3298cba6c232
This commit is contained in:
Danny Baumann 2018-07-19 16:01:52 +02:00
parent 664a9794fa
commit 10c61538af
3 changed files with 8 additions and 0 deletions

View file

@ -323,4 +323,8 @@
<!-- Whether device supports double tap to wake -->
<bool name="config_supportDoubleTapWake">true</bool>
<!-- Boolean indicating whether the HWC setColorTransform function can be performed efficiently
in hardware. -->
<bool name="config_setColorTransformAccelerated">true</bool>
</resources>

View file

@ -11,6 +11,9 @@ lib/com.qualcomm.qti.ant@1.0.so
-priv-app/HotwordEnrollmentOKGoogleWCD9340/HotwordEnrollmentOKGoogleWCD9340.apk
-priv-app/HotwordEnrollmentXGoogleWCD9340/HotwordEnrollmentXGoogleWCD9340.apk
# hwcomposer override
lib64/hw/hwcomposer.qcom.so
# IOP
lib64/vendor.qti.hardware.iop@2.0.so
lib/vendor.qti.hardware.iop@2.0.so

View file

@ -1,6 +1,7 @@
on init
mount none /system/lib64/hw/power.qcom.so /vendor/lib64/hw/power.qcom.so bind
mount none /system/lib/hw/power.qcom.so /vendor/lib/hw/power.qcom.so bind
mount none /system/lib64/hw/hwcomposer.qcom.so /vendor/lib64/hw/hwcomposer.sdm845.so bind
on boot
# Touchpanel