gs101:device: Update modem SSR property
Disable ssrdump for user build.
Bug: 193749485
Change-Id: Ibcd5e7b026cec3ec4ebb982ba352b582470e97c7
diff --git a/device.mk b/device.mk
index 1b0c101..032bfb3 100644
--- a/device.mk
+++ b/device.mk
@@ -321,8 +321,13 @@
persist.vendor.sys.modem.logging.br_num=5
# 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 += \