diff --git a/config/evolution.mk b/config/evolution.mk index e0418764..a4771fe3 100644 --- a/config/evolution.mk +++ b/config/evolution.mk @@ -24,6 +24,15 @@ PRODUCT_COPY_FILES += \ frameworks/native/data/etc/android.hardware.biometrics.face.xml:$(TARGET_COPY_OUT_SYSTEM_EXT)/etc/permissions/android.hardware.biometrics.face.xml endif +# DeviceAsWebcam +ifeq ($(TARGET_BUILD_DEVICE_AS_WEBCAM), true) + PRODUCT_PACKAGES += \ + DeviceAsWebcam + + PRODUCT_VENDOR_PROPERTIES += \ + ro.usb.uvc.enabled=true +endif + # Cloned app exemption PRODUCT_COPY_FILES += \ vendor/lineage/prebuilt/common/etc/sysconfig/preinstalled-packages-platform-evolution-product.xml:$(TARGET_COPY_OUT_PRODUCT)/etc/sysconfig/preinstalled-packages-platform-evolution-product.xml