summaryrefslogtreecommitdiff
path: root/gnss/GnssAdapter.cpp
diff options
context:
space:
mode:
authorDante Russo <drusso@codeaurora.org>2018-04-03 15:10:07 -0700
committerDante Russo <drusso@codeaurora.org>2018-04-04 17:54:02 -0700
commitab95d2dc2e128793d6616f65916e40d25a82cedd (patch)
tree750da4ff31bf2f0757d4f2f1f795bf1af47e6857 /gnss/GnssAdapter.cpp
parent47d2e811e72e6fc0f3c799f3c884092ca0a67f30 (diff)
parent07883c075d0bd54db95b559b44644c1d4a9e32b6 (diff)
downloadgps-ab95d2dc2e128793d6616f65916e40d25a82cedd.tar.gz
Merge location.lnx.3.0-180201 to location.lnx.3.9
Catchup merge from tag location.lnx.3.0-18201 CRs-fixed: 2212182 Change-Id: I47f5f9eb06cb6a6ee6be337a2dc43e0d2386113b
Diffstat (limited to 'gnss/GnssAdapter.cpp')
-rw-r--r--gnss/GnssAdapter.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/gnss/GnssAdapter.cpp b/gnss/GnssAdapter.cpp
index 883922e..d6cb0e7 100644
--- a/gnss/GnssAdapter.cpp
+++ b/gnss/GnssAdapter.cpp
@@ -75,7 +75,7 @@ GnssAdapter::GnssAdapter() :
mAgpsManager(),
mAgpsCbInfo(),
mSystemStatus(SystemStatus::getInstance(mMsgTask)),
- mServerUrl(""),
+ mServerUrl(":"),
mXtraObserver(mSystemStatus->getOsObserver(), mMsgTask)
{
LOC_LOGD("%s]: Constructor %p", __func__, this);
@@ -600,7 +600,6 @@ GnssAdapter::setSuplHostServer(const char* server, int port)
(strncasecmp(noHost, server, sizeof(noHost)) == 0)) {
serverUrl[0] = '\0';
length = 0;
- mServerUrl.clear();
} else if (port > 0) {
length = snprintf(serverUrl, sizeof(serverUrl), "%s:%u", server, port);
}