From 38798148dff28df375ffd1f64ecb55dcfd8185d9 Mon Sep 17 00:00:00 2001 From: neoyu Date: Wed, 12 Jan 2022 22:34:08 +0800 Subject: [PATCH] P22: Sync config of silent CP crash handling from P21 Bug: 214226540 Test: manual Change-Id: I4e915fc08c819d396577ae5a6b8841b632595041 --- device.mk | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/device.mk b/device.mk index 7a5f4578..3c42d466 100644 --- a/device.mk +++ b/device.mk @@ -325,8 +325,13 @@ PRODUCT_PROPERTY_OVERRIDES += \ persist.vendor.sys.modem.logging.enable=true # Enable silent CP crash handling +ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT))) PRODUCT_PROPERTY_OVERRIDES += \ persist.vendor.ril.crash_handling_mode=1 +else +PRODUCT_PROPERTY_OVERRIDES += \ + persist.vendor.ril.crash_handling_mode=2 +endif # Add support dual SIM mode PRODUCT_PROPERTY_OVERRIDES += \