config: add blur support

Change-Id: I5fabdbbdfe812346f17dbba5d4bf9abe7344e0ca
This commit is contained in:
rmp22
2024-06-17 19:55:36 +09:00
committed by Joey
parent 8c010e59f8
commit 6aaad33937

View File

@@ -48,6 +48,20 @@ PRODUCT_PACKAGES += \
ColumbusService
endif
# Enable blur
TARGET_ENABLE_BLUR ?= true
ifeq ($(TARGET_ENABLE_BLUR),true)
PRODUCT_SYSTEM_PROPERTIES += \
ro.custom.blur.enable=true \
persist.sysui.disableBlur=false \
ro.surface_flinger.supports_background_blur=1
else
PRODUCT_SYSTEM_PROPERTIES += \
ro.custom.blur.enable=false \
persist.sysui.disableBlur=true \
ro.surface_flinger.supports_background_blur=0
endif
# Disable async MTE on a few processes
PRODUCT_SYSTEM_EXT_PROPERTIES += \
persist.arm64.memtag.app.com.android.se=off \