Merge "Merge tag 'AU_LINUX_ANDROID_KK.04.04.04.010.110' into HEAD"
This commit is contained in:
commit
406e7c4c15
2 changed files with 2 additions and 1 deletions
|
@ -308,6 +308,7 @@ enum loc_api_adapter_err {
|
||||||
LOC_API_ADAPTER_ERR_PHONE_OFFLINE = 7,
|
LOC_API_ADAPTER_ERR_PHONE_OFFLINE = 7,
|
||||||
LOC_API_ADAPTER_ERR_TIMEOUT = 8,
|
LOC_API_ADAPTER_ERR_TIMEOUT = 8,
|
||||||
LOC_API_ADAPTER_ERR_SERVICE_NOT_PRESENT = 9,
|
LOC_API_ADAPTER_ERR_SERVICE_NOT_PRESENT = 9,
|
||||||
|
LOC_API_ADAPTER_ERR_INTERNAL = 10,
|
||||||
|
|
||||||
/* equating engine down to phone offline, as they are the same errror */
|
/* equating engine down to phone offline, as they are the same errror */
|
||||||
LOC_API_ADAPTER_ERR_ENGINE_DOWN = LOC_API_ADAPTER_ERR_PHONE_OFFLINE,
|
LOC_API_ADAPTER_ERR_ENGINE_DOWN = LOC_API_ADAPTER_ERR_PHONE_OFFLINE,
|
||||||
|
|
|
@ -1769,7 +1769,7 @@ static int loc_eng_start_handler(loc_eng_data_s_type &loc_eng_data)
|
||||||
if (ret_val == LOC_API_ADAPTER_ERR_SUCCESS ||
|
if (ret_val == LOC_API_ADAPTER_ERR_SUCCESS ||
|
||||||
ret_val == LOC_API_ADAPTER_ERR_ENGINE_DOWN ||
|
ret_val == LOC_API_ADAPTER_ERR_ENGINE_DOWN ||
|
||||||
ret_val == LOC_API_ADAPTER_ERR_PHONE_OFFLINE ||
|
ret_val == LOC_API_ADAPTER_ERR_PHONE_OFFLINE ||
|
||||||
ret_val == LOC_API_ADAPTER_ERR_GENERAL_FAILURE)
|
ret_val == LOC_API_ADAPTER_ERR_INTERNAL)
|
||||||
{
|
{
|
||||||
loc_eng_data.adapter->setInSession(TRUE);
|
loc_eng_data.adapter->setInSession(TRUE);
|
||||||
loc_inform_gps_status(loc_eng_data, GPS_STATUS_SESSION_BEGIN);
|
loc_inform_gps_status(loc_eng_data, GPS_STATUS_SESSION_BEGIN);
|
||||||
|
|
Loading…
Reference in a new issue