Merge "BIT:Fixes a bug in HAL for AGPS operation for SGLTE"

This commit is contained in:
Linux Build Service Account 2012-10-11 20:43:44 -07:00 committed by Gerrit - the friendly Code Review server
commit 020727f661

View file

@ -870,10 +870,14 @@ void loc_eng_agps_init(loc_eng_data_s_type &loc_eng_data, AGpsCallbacks* callbac
char baseband[PROPERTY_VALUE_MAX]; char baseband[PROPERTY_VALUE_MAX];
property_get("ro.baseband", baseband, "msm"); property_get("ro.baseband", baseband, "msm");
if ((strcmp(baseband,"svlte2a") == 0) || if ((strcmp(baseband,"svlte2a") == 0) ||
(strcmp(baseband,"sglte") == 0) ||
(strcmp(baseband,"msm") == 0)) (strcmp(baseband,"msm") == 0))
{ {
loc_eng_dmn_conn_loc_api_server_launch(callbacks->create_thread_cb, loc_eng_dmn_conn_loc_api_server_launch(callbacks->create_thread_cb,
NULL, NULL, &loc_eng_data); NULL, NULL, &loc_eng_data);
} else {
LOC_LOGD("%s:%d] loc_eng_dmn_conn_loc_api_server was not initialized.baseband = %s\n",
__func__, __LINE__, baseband);
} }
} }
#endif /* FEATURE_GNSS_BIT_API */ #endif /* FEATURE_GNSS_BIT_API */