From e8541c4ae1b4fb4454a0b07d8ba52a17461c0bf9 Mon Sep 17 00:00:00 2001 From: Ryan Chu Date: Tue, 31 Aug 2021 15:55:25 +0800 Subject: [PATCH] factory: zygote and rescue party properties Add the two properties to prevent rebooting due to crashing services That will allow for better debugging of factory target builds 1) init.svc_debug.no_fatal.zygote true 2) persist.device_config.configuration.disable_rescue_party true Bug: 198180802 Change-Id: Icc8ec4435b80fd271d563f837bde880be1ae4df8 --- factory_common.mk | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/factory_common.mk b/factory_common.mk index b17ad95d..4fa3f93d 100644 --- a/factory_common.mk +++ b/factory_common.mk @@ -65,6 +65,11 @@ PRODUCT_PACKAGES += \ FactoryOverlayLauncher3 \ FactoryOverlayFrameworkRes +# To prevent rebooting due to crashing services +PRODUCT_SYSTEM_DEFAULT_PROPERTIES += \ + init.svc_debug.no_fatal.zygote=true \ + persist.device_config.configuration.disable_rescue_party=true + # PixelLogger for RF testing PRODUCT_PACKAGES_DEBUG += \ PixelLogger \