Merge pull request #145 from cheah/add-flag-for-old-mnc-format

Set persist.sys.phh.radio.use_old_mnc_format for polaris and whyred
This commit is contained in:
Pierre-Hugues HUSSON 2020-01-16 23:34:05 +01:00 committed by GitHub
commit 7edfd64f30
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 0 deletions

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