diff --git a/target/product/core_minimal.mk b/target/product/core_minimal.mk index 9fc792c9d..e9fbbb1c6 100644 --- a/target/product/core_minimal.mk +++ b/target/product/core_minimal.mk @@ -149,5 +149,11 @@ PRODUCT_COPY_FILES += \ PRODUCT_COPY_FILES += $(call add-to-product-copy-files-if-exists,\ frameworks/base/compiled-classes-phone:system/etc/compiled-classes) +# On userdebug builds, collect more tombstones by default. +ifneq (,$(filter userdebug eng,$(TARGET_BUILD_VARIANT))) +PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \ + tombstoned.max_tombstone_count=50 +endif + $(call inherit-product, $(SRC_TARGET_DIR)/product/runtime_libart.mk) $(call inherit-product, $(SRC_TARGET_DIR)/product/base.mk)