Set persist.sys.phh.radio.use_old_mnc_format for polaris and whyred

This commit is contained in:
Michael Cheah 2020-01-11 19:36:06 +08:00 committed by tboy1991
parent 74ac1adfe1
commit 2bf9b4a6ee

View File

@ -534,3 +534,10 @@ if [ -e /dev/sprd-adf-dev ];then
mknod -m666 /dev/adf-overlay-engine0.0 c 250 2
restorecon /dev/adf0 /dev/adf-interface0.0 /dev/adf-overlay-engine0.0
fi
# Fix manual network selection with old modem
# https://github.com/LineageOS/android_hardware_ril/commit/e3d006fa722c02fc26acdfcaa43a3f3a1378eba9
if getprop ro.vendor.build.fingerprint | grep -iq \
-e xiaomi/polaris -e xiaomi/whyred; then
setprop persist.sys.phh.radio.use_old_mnc_format true
fi