axolotl: enable support for background blur
Test: atest librenderfright_test
Change-Id: I31d5ce00e175ec6b8208c301a04a2978647a2fec
Signed-off-by: Alexander Martinz <amartinz@shiftphones.com>
diff --git a/device.mk b/device.mk
index 060c72e..f2ec94c 100644
--- a/device.mk
+++ b/device.mk
@@ -294,6 +294,13 @@
$(LOCAL_PATH)/configs/gps/sap.conf:$(TARGET_COPY_OUT_VENDOR)/etc/sap.conf \
$(LOCAL_PATH)/configs/gps/xtwifi.conf:$(TARGET_COPY_OUT_VENDOR)/etc/xtwifi.conf \
+# Graphics
+
+## Enable blur
+PRODUCT_PRODUCT_PROPERTIES += \
+ ro.sf.blurs_are_expensive=1 \
+ ro.surface_flinger.supports_background_blur=1 \
+
# Health
PRODUCT_PACKAGES += \
android.hardware.health@2.1-impl:64 \