venus-miuicamera: Directly set properties from this repository

We are not going to support any other devices.
This commit is contained in:
ralph950412 2024-07-27 00:07:24 +08:00
parent bff27842c7
commit a2efe34396
2 changed files with 1 additions and 8 deletions

View File

@ -17,11 +17,3 @@ Extracted from venus HyperOS package (refer proprietary-files.txt for version).
# Camera
$(call inherit-product-if-exists, vendor/xiaomi/camera/miuicamera.mk)
```
3. Set `ro.product.mod_device` according to stock, and `ro.miui.notch=1` if the device has a display cutout, for example:
```
PRODUCT_SYSTEM_PROPERTIES += \
ro.miui.notch=1 \
ro.product.mod_device=venus_global
```

View File

@ -19,6 +19,7 @@ PRODUCT_SYSTEM_PROPERTIES += \
persist.vendor.camera.privapp.list=org.codeaurora.snapcam,com.android.camera \
ro.com.google.lens.oem_camera_package=com.android.camera \
ro.miui.notch=1 \
ro.product.mod_device=venus_global \
vendor.camera.aux.packagelist=org.codeaurora.snapcam,com.android.camera,org.lineageos.aperture,org.lineageos.aperture.dev
# Sepolicy