Fix GPS issue after handling SSR
CR2397902: Add back LocSsrMsg in handleEngineDownEvent.
Bug: 145053476
Test: Build & SSR test & GPS sanity test
Change-Id: Id1effc095c3503091a6f65b581ae9e9c2302c6c0
CRs-fixed: 2397902
diff --git a/sdm845/core/LocApiBase.cpp b/sdm845/core/LocApiBase.cpp
index 1ead8ae..a0bf9c4 100644
--- a/sdm845/core/LocApiBase.cpp
+++ b/sdm845/core/LocApiBase.cpp
@@ -264,6 +264,9 @@
void LocApiBase::handleEngineDownEvent()
{
+ // This will take care of renegotiating the loc handle
+ mMsgTask->sendMsg(new LocSsrMsg(this));
+
// loop through adapters, and deliver to all adapters.
TO_ALL_LOCADAPTERS(mLocAdapters[i]->handleEngineDownEvent());
}