Skip to content

Commit

Permalink
galaxys2-common: Use 1Gb Dalvik config instead
Browse files Browse the repository at this point in the history
Also moved after our go_galaxys2-common.mk because
dalvik.vm.heapgrowthlimit and dalvik.vm.heapsize where not applied.

Change-Id: I635078b73dcff01b236db4181438807812a4f13c
  • Loading branch information
rINanDO authored and ChronoMonochrome committed Apr 9, 2019
1 parent 8e341d0 commit 8a7cebc
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions common.mk
Expand Up @@ -220,6 +220,8 @@ PRODUCT_COPY_FILES += \
PRODUCT_COPY_FILES += \
packages/wallpapers/LivePicker/android.software.live_wallpaper.xml:system/etc/permissions/android.software.live_wallpaper.xml

PRODUCT_TAGS += dalvik.gc.type-precise

# Keylayouts
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/configs/excluded-input-devices.xml:system/etc/excluded-input-devices.xml
Expand All @@ -239,17 +241,14 @@ PRODUCT_PROPERTY_OVERRIDES += \
ro.bq.gpu_to_cpu_unsupported=1 \
debug.hwui.render_dirty_regions=false

PRODUCT_TAGS += dalvik.gc.type-precise

$(call inherit-product, frameworks/native/build/phone-xhdpi-1024-dalvik-heap.mk)

# Include exynos4 platform specific parts
TARGET_HAL_PATH := hardware/samsung/exynos4/hal
TARGET_OMX_PATH := hardware/samsung/exynos/multimedia/openmax
$(call inherit-product, hardware/samsung/exynos4x12.mk)

# Include non-opensource parts
$(call inherit-product, vendor/samsung/smdk4412-common/smdk4412-common-vendor.mk)

# Art
PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \
dalvik.vm.dex2oat-threads=1 \
Expand All @@ -258,5 +257,8 @@ PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \
# Build with specific settings for Galaxys2-common
$(call inherit-product, $(LOCAL_PATH)/go_galaxys2-common.mk)

# Apply Dalvik config for 1G phone
$(call inherit-product, frameworks/native/build/phone-xhdpi-1024-dalvik-heap.mk)

# Include debugging props
$(call inherit-product, device/samsung/smdk4412-common/system_prop_debug.mk)

0 comments on commit 8a7cebc

Please sign in to comment.