Skip to content

Commit

Permalink
shamu: test fix for seg_fault
Browse files Browse the repository at this point in the history
Change-Id: I8bb59af8ebd0abcd9ac84f5788f98f49cdcf4d9b
  • Loading branch information
Miccia94 committed Jan 19, 2017
1 parent 7f55e9d commit 24069cf
Showing 1 changed file with 17 additions and 7 deletions.
24 changes: 17 additions & 7 deletions device.mk
Original file line number Diff line number Diff line change
Expand Up @@ -362,6 +362,22 @@ endif
# Enable for volte call
AUDIO_FEATURE_ENABLED_MULTI_VOICE_SESSIONS := true

PRODUCT_PROPERTY_OVERRIDES += \
ro.hwui.texture_cache_size=72 \
ro.hwui.layer_cache_size=48 \
ro.hwui.r_buffer_cache_size=8 \
ro.hwui.path_cache_size=32 \
ro.hwui.gradient_cache_size=1 \
ro.hwui.drop_shadow_cache_size=6 \
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

PRODUCT_PROPERTY_OVERRIDES += \
dalvik.vm.heapgrowthlimit=256m

# In userdebug, add minidebug info the the boot image and the system server to support
# diagnosing native crashes.
ifneq (,$(filter userdebug, $(TARGET_BUILD_VARIANT)))
Expand All @@ -373,15 +389,9 @@ ifneq (,$(filter userdebug, $(TARGET_BUILD_VARIANT)))
$(call add-product-dex-preopt-module-config,wifi-service,--generate-mini-debug-info)
endif

PRODUCT_PROPERTY_OVERRIDES += \
dalvik.vm.heapgrowthlimit=256m

# setup dalvik vm configs
# setup dalvik vm configs.
$(call inherit-product, frameworks/native/build/phone-xhdpi-2048-dalvik-heap.mk)

# setup HWUI configs
$(call inherit-product-if-exists, frameworks/native/build/phone-xxhdpi-3072-hwui-memory.mk)

$(call inherit-product-if-exists, hardware/qcom/msm8x84/msm8x84.mk)
$(call inherit-product-if-exists, vendor/qcom/gpu/msm8x84/msm8x84-gpu-vendor.mk)

Expand Down

0 comments on commit 24069cf

Please sign in to comment.