disabled agps state machine delete in cleanup
The current cleanup mismatches agps_init(), so that it the agps state machines will get deleted in the cleanup but never get recreated next time apgs_init() is called. Bug 7216641 Change-Id: Iddba9fd0d90c790e658f14c42c8a25d22b8749c0
This commit is contained in:
parent
6f36c0ec74
commit
205590ae1b
1 changed files with 2 additions and 2 deletions
|
@ -355,7 +355,7 @@ void loc_eng_cleanup(loc_eng_data_s_type &loc_eng_data)
|
|||
// XTRA has no state, so we are fine with it.
|
||||
|
||||
// we need to check and clear NI
|
||||
|
||||
#if 0
|
||||
// we need to check and clear ATL
|
||||
if (NULL != loc_eng_data.agnss_nif) {
|
||||
delete loc_eng_data.agnss_nif;
|
||||
|
@ -365,7 +365,7 @@ void loc_eng_cleanup(loc_eng_data_s_type &loc_eng_data)
|
|||
delete loc_eng_data.internet_nif;
|
||||
loc_eng_data.internet_nif = NULL;
|
||||
}
|
||||
|
||||
#endif
|
||||
if (loc_eng_data.navigating)
|
||||
{
|
||||
LOC_LOGD("loc_eng_cleanup: fix not stopped. stop it now.");
|
||||
|
|
Loading…
Reference in a new issue