summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDante Russo <drusso@codeaurora.org>2019-04-25 15:27:40 -0700
committerDante Russo <drusso@codeaurora.org>2019-04-25 15:27:40 -0700
commit9d0d8e3c7294dac72a2db83b9bcd9185dd53e057 (patch)
treed3de1ecd1a4fdcf42f1d7243f7951d8cb5e8db08
parente3240df27fb63294175f6e8a74e51da27aba03c9 (diff)
downloadgps-9d0d8e3c7294dac72a2db83b9bcd9185dd53e057.tar.gz
Default value of SUPL_ES to enable
SUPL_ES by default needs to be enabled, since it is no longer set by AFW at runtime. CRs-fixed: 2444734 Change-Id: I370a3e0f8ab6905b47629c4076f645b26ff8acc9
-rw-r--r--core/ContextBase.cpp2
-rw-r--r--etc/gps.conf2
2 files changed, 2 insertions, 2 deletions
diff --git a/core/ContextBase.cpp b/core/ContextBase.cpp
index 28109bb..f046baa 100644
--- a/core/ContextBase.cpp
+++ b/core/ContextBase.cpp
@@ -111,7 +111,7 @@ void ContextBase::readConfig()
mGps_conf.GPS_LOCK = GNSS_CONFIG_GPS_LOCK_MO_AND_NI;
mGps_conf.SUPL_VER = 0x10000;
mGps_conf.SUPL_MODE = 0x1;
- mGps_conf.SUPL_ES = 0;
+ mGps_conf.SUPL_ES = 1;
mGps_conf.SUPL_HOST[0] = 0;
mGps_conf.SUPL_PORT = 0;
mGps_conf.CAPABILITIES = 0x7;
diff --git a/etc/gps.conf b/etc/gps.conf
index a5dabb2..577c7b0 100644
--- a/etc/gps.conf
+++ b/etc/gps.conf
@@ -35,7 +35,7 @@ INTERMEDIATE_POS=0
SUPL_VER=0x10000
# Emergency SUPL, 1=enable, 0=disable
-#SUPL_ES=0
+#SUPL_ES=1
#Choose PDN for Emergency SUPL
#1 - Use emergency PDN