From 449abcdacacd95cf22c0cdb0c4e4469d1567cb53 Mon Sep 17 00:00:00 2001 From: Danny Lin Date: Fri, 6 Nov 2020 21:56:45 -0800 Subject: [PATCH] config: Disable RescueParty RescueParty's aggressive approach to error recovery almost never helps with the problems we're likely to face, and its risk of data loss is far too high. Force-disable it entirely and remove all other conditions, especially those that depend on data integrity in the first place, to reduce the risk of RescueParty triggering falsely and causing data loss. Note that it is still possible to force-enable RescueParty for testing purposes using the persist.sys.enable_rescue property. Change-Id: I62c86782965ecdfcc8181112eca300169b4cca56 --- config/common.mk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/config/common.mk b/config/common.mk index b5a017e6..500ea1b9 100644 --- a/config/common.mk +++ b/config/common.mk @@ -151,6 +151,10 @@ PRODUCT_PACKAGES += \ PRODUCT_PRODUCT_PROPERTIES += \ debug.graphics.game_default_frame_rate.disabled=true +# Disable RescueParty due to high risk of data loss +PRODUCT_PRODUCT_PROPERTIES += \ + persist.sys.disable_rescue=true + PRODUCT_PACKAGES += \ nano_recovery