Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Verified Commit 77b117cc authored by steadfasterX's avatar steadfasterX 😁
Browse files

camera: adapt missing configs

parent f95e6890
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -179,7 +179,8 @@ TARGET_LD_SHIM_LIBS += \
    /system/bin/mediaserver|/system/lib/libstagefright_shim.so \
    /system/lib/libaudioroute.so|/vendor/lib/mixer_update_shim.so \
    /vendor/lib/hw/camera.universal7870.so|/vendor/lib/libexynoscamera_shim.so \
    /vendor/lib64/hw/camera.universal7870.so|/vendor/lib64/libexynoscamera_shim.so
    /vendor/lib64/hw/camera.universal7870.so|/vendor/lib64/libexynoscamera_shim.so \
    /vendor/lib/libexynoscamera.so|libexynoscamera_shim.so

# Wifi
BOARD_HAVE_SAMSUNG_WIFI := true
+8 −0
Original line number Diff line number Diff line
service sec-camera-provider-2-5 /vendor/bin/hw/vendor.samsung.hardware.camera.provider@2.5-service
    interface vendor.samsung.hardware.camera.provider@2.5::ISecCameraProvider legacy/0
    class hal
    user cameraserver
    group audio camera input drmrpc system media_rw sdcard_rw
    ioprio rt 4
    capabilities SYS_NICE
    writepid /dev/cpuset/camera-daemon/tasks /dev/stune/foreground/tasks
+10 −6
Original line number Diff line number Diff line
@@ -90,13 +90,18 @@ PRODUCT_COPY_FILES += \

# Camera
PRODUCT_PACKAGES += \
    android.hardware.camera.common@1.0-helper \
    android.hardware.camera.provider@2.5-impl \
    android.hardware.camera.provider@2.5-service \
    libion_exynos \
    Snap\
    camera.device@1.0-impl \
    camera.device@3.2-impl \
    camera.device@3.3-impl \
    camera.device@3.4-impl \
    libexynoscamera_shim \
    libcamera_client_shim \
    camera.exynos5

# Camera service
PRODUCT_COPY_FILES += \
    $(LOCAL_PATH)/configs/camera/vendor.samsung.hardware.camera.provider@2.5-service.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/vendor.samsung.hardware.camera.provider@2.5-service.rc

# Camera configurations
PRODUCT_COPY_FILES += \
    $(LOCAL_PATH)/configs/camera/external_camera_config.xml:$(TARGET_COPY_OUT_VENDOR)/etc/external_camera_config.xml
@@ -257,7 +262,6 @@ PRODUCT_PACKAGES += \

# Shims
PRODUCT_PACKAGES += \
    libexynoscamera_shim \
    libstagefright_shim \
    mixer_update_shim