aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Hexen <SyberHexen@gmail.com>2022-04-05 11:12:52 -0700
committerAndrew Hexen <SyberHexen@gmail.com>2022-04-05 12:35:09 -0700
commitd97a4ffdf8316ced94b26b645c6437b2d553712c (patch)
treecbe45bcaa15508af3f74a44d8ab275a74ac554d8
parent101b6ccf40c8da9893ec6661e6e49d000ea66275 (diff)
ocean: import livedisplay bits from common
* so we can drop IPictureAdjustment/sdm which causes crazy colors Signed-off-by: Andrew Hexen <SyberHexen@gmail.com> Change-Id: I5c5adca182fede15066243b033d25aab4cf44845
-rw-r--r--BoardConfig.mk3
-rw-r--r--device.mk4
-rw-r--r--manifest.xml15
3 files changed, 22 insertions, 0 deletions
diff --git a/BoardConfig.mk b/BoardConfig.mk
index 614842d..e7802ff 100644
--- a/BoardConfig.mk
+++ b/BoardConfig.mk
@@ -28,6 +28,9 @@ TARGET_OTA_ASSERT_DEVICE := ocean
# Display
TARGET_SCREEN_DENSITY := 320
+# HIDL
+DEVICE_MANIFEST_FILE += $(DEVICE_PATH)/manifest.xml
+
# Kernel
TARGET_KERNEL_CONFIG := ocean_defconfig
diff --git a/device.mk b/device.mk
index e7979f1..5339c57 100644
--- a/device.mk
+++ b/device.mk
@@ -66,6 +66,10 @@ PRODUCT_COPY_FILES += \
PRODUCT_PACKAGES += \
init.ocean.rc
+# LiveDisplay
+PRODUCT_PACKAGES += \
+ vendor.lineage.livedisplay@2.0-service-sysfs
+
# NFC and Secure Element packages
PRODUCT_COPY_FILES += \
frameworks/native/data/etc/android.hardware.nfc.xml:$(TARGET_COPY_OUT_ODM)/etc/permissions/sku_nfc/android.hardware.nfc.xml \
diff --git a/manifest.xml b/manifest.xml
new file mode 100644
index 0000000..f3828e1
--- /dev/null
+++ b/manifest.xml
@@ -0,0 +1,15 @@
+<manifest version="1.0" type="device" target-level="3">
+ <hal format="hidl">
+ <name>vendor.lineage.livedisplay</name>
+ <transport>hwbinder</transport>
+ <version>2.0</version>
+ <interface>
+ <name>ISunlightEnhancement</name>
+ <instance>default</instance>
+ </interface>
+ <interface>
+ <name>IAdaptiveBacklight</name>
+ <instance>default</instance>
+ </interface>
+ </hal>
+</manifest>