From e6150b13cfe8d27f25ba41345121c361cee4fba0 Mon Sep 17 00:00:00 2001
From: TheScarastic <warabhishek@gmail.com>
Date: Fri, 29 Jun 2018 14:30:40 +0530
Subject: [PATCH] msm8953-common: Remove hwui properties

Change-Id: I36cc4c621037f30f68b7364ba5083848c8e1f967
---
 init/init_msm8953.cpp | 16 ----------------
 1 file changed, 16 deletions(-)

diff --git a/init/init_msm8953.cpp b/init/init_msm8953.cpp
index 129eaa4..4ff874b 100644
--- a/init/init_msm8953.cpp
+++ b/init/init_msm8953.cpp
@@ -39,7 +39,6 @@ char const *heapgrowthlimit;
 char const *heapsize;
 char const *heapminfree;
 char const *heapmaxfree;
-char const *large_cache_height;
 
 using android::init::property_set;
 
@@ -87,7 +86,6 @@ void check_device()
         heapsize = "512m";
         heapminfree = "4m";
         heapmaxfree = "8m";
-	large_cache_height = "2048";
     } else if (sys.totalram > 2048ull * 1024 * 1024) {
         // from - phone-xxhdpi-3072-dalvik-heap.mk
         heapstartsize = "8m";
@@ -95,7 +93,6 @@ void check_device()
         heapsize = "768m";
         heapminfree = "512k";
 	heapmaxfree = "8m";
-        large_cache_height = "1024";
     } else {
         // from - phone-xxhdpi-2048-dalvik-heap.mk
         heapstartsize = "16m";
@@ -103,7 +100,6 @@ void check_device()
         heapsize = "512m";
         heapminfree = "2m";
         heapmaxfree = "8m";
-        large_cache_height = "1024";
    }
 }
 
@@ -118,16 +114,4 @@ void vendor_load_properties()
     property_set("dalvik.vm.heaptargetutilization", "0.75");
     property_set("dalvik.vm.heapminfree", heapminfree);
     property_set("dalvik.vm.heapmaxfree", heapmaxfree);
-
-    property_set("ro.hwui.texture_cache_size", "72");
-    property_set("ro.hwui.layer_cache_size", "48");
-    property_set("ro.hwui.r_buffer_cache_size", "8");
-    property_set("ro.hwui.path_cache_size", "32");
-    property_set("ro.hwui.gradient_cache_size", "1");
-    property_set("ro.hwui.drop_shadow_cache_size", "6");
-    property_set("ro.hwui.texture_cache_flushrate", "0.4");
-    property_set("ro.hwui.text_small_cache_width", "1024");
-    property_set("ro.hwui.text_small_cache_height", "1024");
-    property_set("ro.hwui.text_large_cache_width", "2048");
-    property_set("ro.hwui.text_large_cache_height", large_cache_height);
 }
-- 
GitLab