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
This commit is contained in:
parent
b1c6ba1ffc
commit
0eaa3bab7e
1 changed files with 4 additions and 0 deletions
|
@ -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 */
|
||||||
|
|
Loading…
Reference in a new issue