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
This commit is contained in:
Danny Lin
2020-11-06 21:56:45 -08:00
committed by Zabuka_zuzu
parent 7e9d7816b4
commit 449abcdaca

View File

@@ -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