summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--blueline/init.blueline.rc3
-rw-r--r--crosshatch/init.crosshatch.rc3
-rw-r--r--device-common.mk11
-rw-r--r--device.mk2
4 files changed, 1 insertions, 18 deletions
diff --git a/blueline/init.blueline.rc b/blueline/init.blueline.rc
index 8d43398d..f410ecc0 100644
--- a/blueline/init.blueline.rc
+++ b/blueline/init.blueline.rc
@@ -18,6 +18,3 @@ import /vendor/etc/init/hw/init.${ro.boot.hardware.platform}.rc
on init
setprop ro.sf.lcd_density 440
- setprop ro.hwui.texture_cache_size 56
- setprop ro.hwui.layer_cache_size 32
- setprop ro.hwui.path_cache_size 16
diff --git a/crosshatch/init.crosshatch.rc b/crosshatch/init.crosshatch.rc
index 357094a3..33347838 100644
--- a/crosshatch/init.crosshatch.rc
+++ b/crosshatch/init.crosshatch.rc
@@ -18,6 +18,3 @@ import /vendor/etc/init/hw/init.${ro.boot.hardware.platform}.rc
on init
setprop ro.sf.lcd_density 560
- setprop ro.hwui.texture_cache_size 84
- setprop ro.hwui.layer_cache_size 64
- setprop ro.hwui.path_cache_size 32
diff --git a/device-common.mk b/device-common.mk
index c2a668d7..3fdbcffb 100644
--- a/device-common.mk
+++ b/device-common.mk
@@ -75,14 +75,3 @@ PRODUCT_COPY_FILES += \
# Dumpstate HAL
PRODUCT_PACKAGES += \
android.hardware.dumpstate@1.0-service.crosshatch
-
-# HWUI common settings
-PRODUCT_PROPERTY_OVERRIDES += \
- ro.hwui.gradient_cache_size=1 \
- ro.hwui.drop_shadow_cache_size=6 \
- ro.hwui.r_buffer_cache_size=8 \
- ro.hwui.texture_cache_flushrate=0.4 \
- ro.hwui.text_small_cache_width=1024 \
- ro.hwui.text_small_cache_height=1024 \
- ro.hwui.text_large_cache_width=2048 \
- ro.hwui.text_large_cache_height=1024
diff --git a/device.mk b/device.mk
index 96e3ab0f..8e9ff4ae 100644
--- a/device.mk
+++ b/device.mk
@@ -695,5 +695,5 @@ PRODUCT_DEXPREOPT_SPEED_APPS += \
# Enable stats logging in LMKD
TARGET_LMKD_STATS_LOG := true
-PRODUCT_PROPERTY_OVERRIDES += \
+PRODUCT_SYSTEM_DEFAULT_PROPERTIES += \
ro.lmk.log_stats=true