summaryrefslogtreecommitdiff
path: root/core/LocApiBase.h
diff options
context:
space:
mode:
authorHarikrishnan Hariharan <hahariha@codeaurora.org>2016-10-18 17:13:20 +0530
committerGerrit - the friendly Code Review server <code-review@localhost>2016-11-03 01:45:29 -0700
commit1de8a18031532d0253d854d3e6923e02e2ba8405 (patch)
tree34b68b710faa78eeeeaaf6037ac4f685137ad8d4 /core/LocApiBase.h
parentc75f2c69083eca691dc36d5d8bdafca74b1819bb (diff)
downloadgps-1de8a18031532d0253d854d3e6923e02e2ba8405.tar.gz
Reinitialize dataservice client post SSR
On SSR invoke dsi_release() and dsi_init(Mode_SSR) to recover data call functionality post SSR. Change-Id: Ie784dad73ae8d6d91cf4cb87efe938af9015a7a2 CRs-Fixed: 1073101
Diffstat (limited to 'core/LocApiBase.h')
-rw-r--r--core/LocApiBase.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/LocApiBase.h b/core/LocApiBase.h
index 4655332..2d0cc8c 100644
--- a/core/LocApiBase.h
+++ b/core/LocApiBase.h
@@ -215,10 +215,11 @@ public:
getBestAvailableZppFix(GpsLocation & zppLoc);
virtual enum loc_api_adapter_err
getBestAvailableZppFix(GpsLocation & zppLoc, LocPosTechMask & tech_mask);
- virtual int initDataServiceClient();
+ virtual int initDataServiceClient(bool isDueToSsr);
virtual int openAndStartDataCall();
virtual void stopDataCall();
virtual void closeDataCall();
+ virtual void releaseDataServiceClient();
virtual void installAGpsCert(const DerEncodedCertificate* pData,
size_t length,
uint32_t slotBitMask);