From 0eaa3bab7e314dbdb4688d21cab282c84e5f572f Mon Sep 17 00:00:00 2001 From: Satheesh Jayakumar Date: Tue, 9 Oct 2012 20:50:06 -0700 Subject: [PATCH] BIT:Fixes a bug in HAL for AGPS operation for SGLTE Enhances HAL to launch the Daemon connection server for SGLTE targets too. CRs-Fixed: 409237 Change-Id: I70116eb1f96b8b4dbe39f57dfceb1ab02ef65e4d --- loc_api/libloc_api_50001/loc_eng.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/loc_api/libloc_api_50001/loc_eng.cpp b/loc_api/libloc_api_50001/loc_eng.cpp index 89a77292..da10c714 100755 --- a/loc_api/libloc_api_50001/loc_eng.cpp +++ b/loc_api/libloc_api_50001/loc_eng.cpp @@ -870,10 +870,14 @@ void loc_eng_agps_init(loc_eng_data_s_type &loc_eng_data, AGpsCallbacks* callbac char baseband[PROPERTY_VALUE_MAX]; property_get("ro.baseband", baseband, "msm"); if ((strcmp(baseband,"svlte2a") == 0) || + (strcmp(baseband,"sglte") == 0) || (strcmp(baseband,"msm") == 0)) { loc_eng_dmn_conn_loc_api_server_launch(callbacks->create_thread_cb, 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 */