Only start the IZAT services when the Sys prop is true
OEMs enabled the IZAT premium features by turning on the system property, which is defined in the gps makefile (proprietary repo) Change-Id: Iad4e124cfa3f3fbb512ae27d7c5b34e0a6d4de3c
This commit is contained in:
parent
0e12da3e53
commit
b8e4c01142
|
@ -60,6 +60,7 @@ start_battery_monitor()
|
|||
}
|
||||
|
||||
baseband=`getprop ro.baseband`
|
||||
izat_premium_enablement=`getprop ro.qc.sdk.izat.premium_enabled`
|
||||
|
||||
#
|
||||
# Suppress default route installation during RA for IPV6; user space will take
|
||||
|
@ -92,10 +93,12 @@ case "$target" in
|
|||
esac
|
||||
|
||||
case "$target" in
|
||||
"msm8960")
|
||||
start location_mq
|
||||
start xtwifi_inet
|
||||
start xtwifi_client
|
||||
"msm8960" | "msm8974")
|
||||
if [ "$izat_premium_enablement" -eq 1 ]; then
|
||||
start location_mq
|
||||
start xtwifi_inet
|
||||
start xtwifi_client
|
||||
fi
|
||||
esac
|
||||
|
||||
case "$target" in
|
||||
|
|
Loading…
Reference in New Issue