mirror of
https://github.com/Evolution-X-Devices/device_xiaomi_sm6150-common
synced 2026-01-27 16:26:02 +00:00
sm6150-common: Set appropriate dalvik props for 8GB ram device
* Based on 14a6b59647
* Let's use this instead of the old one we've been using before
Signed-off-by: Simao Gomes Viana <xdevs23@outlook.com>
Signed-off-by: therealmharc <therealmharc@gmail.com>
This commit is contained in:
committed by
therealmharc
parent
5f0d3a8304
commit
d4fc693590
12
sm6150.mk
12
sm6150.mk
@@ -16,9 +16,6 @@
|
||||
|
||||
$(call inherit-product, $(SRC_TARGET_DIR)/product/non_ab_device.mk)
|
||||
|
||||
# Setup dalvik vm configs
|
||||
$(call inherit-product, frameworks/native/build/phone-xhdpi-6144-dalvik-heap.mk)
|
||||
|
||||
# Call the proprietary setup
|
||||
$(call inherit-product, vendor/xiaomi/sm6150-common/sm6150-common-vendor.mk)
|
||||
|
||||
@@ -104,6 +101,15 @@ PRODUCT_COPY_FILES += \
|
||||
frameworks/native/data/etc/android.hardware.camera.full.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.full.xml \
|
||||
frameworks/native/data/etc/android.hardware.camera.raw.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.raw.xml
|
||||
|
||||
# Dalvik configs
|
||||
PRODUCT_VENDOR_PROPERTIES += \
|
||||
dalvik.vm.heapstartsize=24m \
|
||||
dalvik.vm.heapgrowthlimit=256m \
|
||||
dalvik.vm.heapsize=512m \
|
||||
dalvik.vm.heaptargetutilization=0.46 \
|
||||
dalvik.vm.heapminfree=8m \
|
||||
dalvik.vm.heapmaxfree=48m
|
||||
|
||||
# Display
|
||||
PRODUCT_PACKAGES += \
|
||||
android.hardware.graphics.composer@2.4-service \
|
||||
|
||||
Reference in New Issue
Block a user