diff options
author | Dante Russo <drusso@codeaurora.org> | 2019-12-05 16:12:12 -0800 |
---|---|---|
committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2020-12-11 16:47:34 -0800 |
commit | edb42238b9bc5c964a9a8fe36d0e22eae6ef9391 (patch) | |
tree | 856306c9ca9ae813504da8e1156cd1563e528445 /core/ContextBase.cpp | |
parent | de8af557e2b05bac026d884deea231cf44a0398a (diff) |
Fix case where Emergency SUPL NI should be denied
Emergency and non-emergency SUPL NI Requests
should be denied under the following conditions:
- Device is NOT in an Emergency Call Session
- NI Request does NOT have Privacy Override
- NFW is locked
- Config item NI_SUPL_DENY_ON_NFW_LOCKED = 1
Also, config item NI_SUPL_DENY_ON_NFW_LOCKED
is set to 1 (true) by default
Change-Id: If66107fdbbefc2438e9fa2adf958f7750c08c1db
CRs-fixed: 2581083
Diffstat (limited to 'core/ContextBase.cpp')
-rw-r--r-- | core/ContextBase.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/ContextBase.cpp b/core/ContextBase.cpp index ee37a0f..de28d8c 100644 --- a/core/ContextBase.cpp +++ b/core/ContextBase.cpp @@ -194,7 +194,7 @@ void ContextBase::readConfig() mGps_conf.GNSS_DEPLOYMENT = 0; mGps_conf.CUSTOM_NMEA_GGA_FIX_QUALITY_ENABLED = 0; /* default configuration for NI_SUPL_DENY_ON_NFW_LOCKED */ - mGps_conf.NI_SUPL_DENY_ON_NFW_LOCKED = 0; + mGps_conf.NI_SUPL_DENY_ON_NFW_LOCKED = 1; UTIL_READ_CONF(LOC_PATH_GPS_CONF, mGps_conf_table); UTIL_READ_CONF(LOC_PATH_SAP_CONF, mSap_conf_table); |