From b8e4c011421985435a3ae66616c3a46829efe48f Mon Sep 17 00:00:00 2001 From: Kevin Tang Date: Fri, 28 Sep 2012 22:25:20 -0700 Subject: [PATCH] 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 --- rootdir/etc/init.qcom.sh | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/rootdir/etc/init.qcom.sh b/rootdir/etc/init.qcom.sh index da7157e1..b05c5022 100755 --- a/rootdir/etc/init.qcom.sh +++ b/rootdir/etc/init.qcom.sh @@ -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