From 9d0d8e3c7294dac72a2db83b9bcd9185dd53e057 Mon Sep 17 00:00:00 2001 From: Dante Russo Date: Thu, 25 Apr 2019 15:27:40 -0700 Subject: [PATCH] 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 --- core/ContextBase.cpp | 2 +- etc/gps.conf | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/core/ContextBase.cpp b/core/ContextBase.cpp index 28109bb0..f046baaf 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 a5dabb2d..577c7b07 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