From 205590ae1b89d30d7979e06720bb7bf202b0c742 Mon Sep 17 00:00:00 2001 From: Mekala Natarajan Date: Wed, 26 Sep 2012 16:07:40 -0700 Subject: [PATCH] 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 --- loc_api/libloc_api_50001/loc_eng.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/loc_api/libloc_api_50001/loc_eng.cpp b/loc_api/libloc_api_50001/loc_eng.cpp index 747268da..1bf309cb 100644 --- a/loc_api/libloc_api_50001/loc_eng.cpp +++ b/loc_api/libloc_api_50001/loc_eng.cpp @@ -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.");