sm7325-common: Ensure multisim property gets set at early stage
Change-Id: I8066dbd0a466f008ec1ce3144b76922fe1b7e750
This commit is contained in:
parent
a614dab9d5
commit
3605aa48b1
3 changed files with 10 additions and 7 deletions
|
|
@ -40,6 +40,7 @@ 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}
|
||||
|
|
@ -312,13 +313,6 @@ 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}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue