From b97294d58ffe8f5ec87777dad73a87c37de44cf1 Mon Sep 17 00:00:00 2001 From: Arian Date: Sun, 11 Oct 2020 16:40:18 +0200 Subject: [PATCH] davinci: Build the vendor.xiaomi.hardware.motor@1.0 interface Change-Id: Ieda22802167fb20f54b301f3c686f158599f09eb --- device.mk | 4 ++++ proprietary-files.txt | 1 - 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/device.mk b/device.mk index 596e057..28d52ba 100644 --- a/device.mk +++ b/device.mk @@ -118,6 +118,10 @@ PRODUCT_COPY_FILES += \ frameworks/native/data/etc/android.hardware.camera.full.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.full.xml \ frameworks/native/data/etc/android.hardware.camera.raw.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.raw.xml +# Camera motor +PRODUCT_PACKAGES += \ + vendor.xiaomi.hardware.motor@1.0.vendor + # Device-specific settings PRODUCT_PACKAGES += \ XiaomiParts diff --git a/proprietary-files.txt b/proprietary-files.txt index 40d0f65..8ccd288 100644 --- a/proprietary-files.txt +++ b/proprietary-files.txt @@ -274,7 +274,6 @@ vendor/firmware/CAMERA_ICP.elf vendor/bin/hw/vendor.xiaomi.hardware.motor@1.0-service vendor/lib64/hw/vendor.xiaomi.hardware.motor@1.0-impl.so vendor/lib64/mi.motor.daemon.so -vendor/lib64/vendor.xiaomi.hardware.motor@1.0.so # Camera (popup sound effects) media/audio/ui/popup_cangmen_down.ogg