Fix FDE + MTK RIL fix

This commit is contained in:
Pierre-Hugues Husson 2018-08-29 20:36:21 +02:00
parent 99d0cda107
commit bdbd72c7da

View File

@ -1,7 +1,8 @@
#!/system/bin/sh
[ "$(getprop vold.decrypt)" == "trigger_restart_min_framework" ] && exit 0
if [ -f /vendor/bin/mtkmal ];then
if [ "$(getprop persist.mtk_ims_support)" == 1 ];then
if [ "$(getprop persist.mtk_ims_support)" == 1 -o "$(getprop persist.mtk_epdg_support)" == 1 ];then
setprop persist.mtk_ims_support 0
setprop persist.mtk_epdg_support 0
reboot