venus-miuicamera: Directly set properties from this repository
We are not going to support any other devices.
This commit is contained in:
parent
bff27842c7
commit
a2efe34396
|
@ -17,11 +17,3 @@ Extracted from venus HyperOS package (refer proprietary-files.txt for version).
|
||||||
# Camera
|
# Camera
|
||||||
$(call inherit-product-if-exists, vendor/xiaomi/camera/miuicamera.mk)
|
$(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
|
|
||||||
```
|
|
||||||
|
|
|
@ -19,6 +19,7 @@ PRODUCT_SYSTEM_PROPERTIES += \
|
||||||
persist.vendor.camera.privapp.list=org.codeaurora.snapcam,com.android.camera \
|
persist.vendor.camera.privapp.list=org.codeaurora.snapcam,com.android.camera \
|
||||||
ro.com.google.lens.oem_camera_package=com.android.camera \
|
ro.com.google.lens.oem_camera_package=com.android.camera \
|
||||||
ro.miui.notch=1 \
|
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
|
vendor.camera.aux.packagelist=org.codeaurora.snapcam,com.android.camera,org.lineageos.aperture,org.lineageos.aperture.dev
|
||||||
|
|
||||||
# Sepolicy
|
# Sepolicy
|
||||||
|
|
Loading…
Reference in New Issue