Promotion of location.lnx.2.0-00025.
CRs Change ID Subject -------------------------------------------------------------------------------------------------------------- 1058559 I4e5c3f09c097b835d8a685a8b465eb86dd06cd7a Fix race condition when GPS app is closed around an SSR Change-Id: I33e8ccbabe078be7cf522a79c84278219acbda93 CRs-Fixed: 1058559
This commit is contained in:
commit
c220d2d1e7
1 changed files with 2 additions and 2 deletions
|
@ -2024,7 +2024,6 @@ static int loc_eng_stop_handler(loc_eng_data_s_type &loc_eng_data)
|
|||
int ret_val = LOC_API_ADAPTER_ERR_SUCCESS;
|
||||
|
||||
if (loc_eng_data.adapter->isInSession()) {
|
||||
|
||||
ret_val = loc_eng_data.adapter->stopFix();
|
||||
loc_eng_data.adapter->setInSession(FALSE);
|
||||
}
|
||||
|
@ -2933,8 +2932,9 @@ void loc_eng_handle_engine_up(loc_eng_data_s_type &loc_eng_data)
|
|||
if (loc_eng_data.adapter->isInSession()) {
|
||||
// This sets the copy in adapter to modem
|
||||
loc_eng_data.adapter->setInSession(false);
|
||||
loc_eng_data.adapter->sendMsg(new LocEngStartFix(loc_eng_data.adapter));
|
||||
loc_eng_start_handler(loc_eng_data);
|
||||
}
|
||||
|
||||
EXIT_LOG(%s, VOID_RET);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue