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:
Kevin Tang 2012-09-28 22:25:20 -07:00
parent 0e12da3e53
commit b8e4c01142
1 changed files with 7 additions and 4 deletions

View File

@ -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")
"msm8960" | "msm8974")
if [ "$izat_premium_enablement" -eq 1 ]; then
start location_mq
start xtwifi_inet
start xtwifi_client
fi
esac
case "$target" in