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
parent 2a42bd0ed2
commit a406582117
No known key found for this signature in database
GPG Key ID: 18BDAE324064CD9D

View File

@ -531,3 +531,10 @@ if [ -e /dev/sprd-adf-dev ];then
mknod -m666 /dev/adf-overlay-engine0.0 c 250 2 mknod -m666 /dev/adf-overlay-engine0.0 c 250 2
restorecon /dev/adf0 /dev/adf-interface0.0 /dev/adf-overlay-engine0.0 restorecon /dev/adf0 /dev/adf-interface0.0 /dev/adf-overlay-engine0.0
fi 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