sm6375-common: Explicitly set multisim property
* Our family of devices all use dual sim slots. So let's set the prop once and for all. Change-Id: I68be2c6c65dcc7e114823fe9f93f5444a65f4420
This commit is contained in:
parent
f03a406c62
commit
c22d26a63a
3 changed files with 8 additions and 9 deletions
|
@ -359,10 +359,6 @@ set_ro_hw_properties_upgrade()
|
|||
utag_value=$(cat $utag_path/ascii)
|
||||
setprop $prop_prefix$utag_name "$utag_value"
|
||||
notice "ro.vendor.hw.$utag_name='$utag_value'"
|
||||
|
||||
if [ "$utag_name" = "dualsim" ] && [ "$utag_value" = "true" ]; then
|
||||
setprop persist.vendor.radio.multisim.config dsds
|
||||
fi
|
||||
done
|
||||
}
|
||||
|
||||
|
@ -388,10 +384,6 @@ set_ro_hw_properties()
|
|||
utag_value=$(cat $utag_path/ascii)
|
||||
setprop $prop_prefix$utag_name "$utag_value"
|
||||
notice "$prop_prefix$utag_name='$utag_value'"
|
||||
|
||||
if [ "$utag_name" = "dualsim" ] && [ "$utag_value" = "true" ]; then
|
||||
setprop persist.vendor.radio.multisim.config dsds
|
||||
fi
|
||||
done
|
||||
}
|
||||
|
||||
|
|
|
@ -46,7 +46,6 @@ on early-init
|
|||
setprop ro.vendor.boot.bl_state ${ro.boot.bl_state}
|
||||
setprop ro.vendor.boot.serialno ${ro.boot.serialno}
|
||||
setprop ro.vendor.zygote ${ro.zygote}
|
||||
setprop persist.radio.multisim.config ${persist.vendor.radio.multisim.config}
|
||||
|
||||
# Make sure ro.boot.product.hardware.sku is set before hwservicemanager startup.
|
||||
setprop ro.boot.product.hardware.sku ${ro.vendor.product.hardware.sku.variant}
|
||||
|
@ -338,6 +337,13 @@ on property:sys.boot_completed=1 && property:ro.vendor.zram.product_swapon=""
|
|||
write /proc/sys/vm/swappiness 100
|
||||
setprop sys.sysctl.swappiness 100
|
||||
|
||||
# translate MMI property in order to keep the consistent with QCOM
|
||||
on property:ro.vendor.hw.dualsim=true
|
||||
setprop persist.radio.multisim.config dsds
|
||||
|
||||
on property:ro.vendor.hw.dualsim=false
|
||||
setprop persist.radio.multisim.config ""
|
||||
|
||||
on property:sys.sysctl.swappiness=*
|
||||
write /proc/sys/vm/swappiness ${sys.sysctl.swappiness}
|
||||
|
||||
|
|
|
@ -257,6 +257,7 @@ persist.vendor.qteeconnector.retrying_timeout=2000
|
|||
persist.vendor.qcomsysd.enabled=1
|
||||
|
||||
# Radio
|
||||
persist.radio.multisim.config=dsds
|
||||
persist.rcs.supported=1
|
||||
persist.vendor.data.iwlan.enable=true
|
||||
persist.vendor.radio.0x9e_not_callname=1
|
||||
|
|
Loading…
Reference in a new issue