diff options
author | Harikrishnan Hariharan <hahariha@codeaurora.org> | 2016-10-18 17:13:20 +0530 |
---|---|---|
committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2016-11-03 01:45:29 -0700 |
commit | 1de8a18031532d0253d854d3e6923e02e2ba8405 (patch) | |
tree | 34b68b710faa78eeeeaaf6037ac4f685137ad8d4 /core/LocApiBase.cpp | |
parent | c75f2c69083eca691dc36d5d8bdafca74b1819bb (diff) | |
download | gps-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.cpp')
-rw-r--r-- | core/LocApiBase.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/core/LocApiBase.cpp b/core/LocApiBase.cpp index 3af79b2..2857e78 100644 --- a/core/LocApiBase.cpp +++ b/core/LocApiBase.cpp @@ -549,7 +549,7 @@ enum loc_api_adapter_err LocApiBase:: } int LocApiBase:: - initDataServiceClient() + initDataServiceClient(bool isDueToSsr) DEFAULT_IMPL(-1) int LocApiBase:: @@ -564,6 +564,10 @@ void LocApiBase:: closeDataCall() DEFAULT_IMPL() +void LocApiBase:: + releaseDataServiceClient() +DEFAULT_IMPL() + int LocApiBase:: setGpsLock(LOC_GPS_LOCK_MASK lock) DEFAULT_IMPL(-1) |