summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNilesh Gharde <ngharde@codeaurora.org>2019-06-04 12:09:01 +0530
committerGerrit - the friendly Code Review server <code-review@localhost>2019-06-13 22:38:59 -0700
commitff98fecec453ceac6d7f665c5a746352a41aaecd (patch)
treeaf2e7a575e84bc05051552dc2ea490b1c387ae29
parentaadcd5f7dc66cb39fe5bc3e8f8886ccc1608e7db (diff)
downloadgps-ff98fecec453ceac6d7f665c5a746352a41aaecd.tar.gz
AP Default Setting CRM Builds SM8250 and Beyond
loc_service_mask should not be populated with any SAP(Basic or Premium) value if the SAP value is MODEM_DEFAULT. Change-Id: I665bb90e4a814dc31bed566cc0b2ecffcfae52ac CRs-Fixed: 2457874
-rw-r--r--utils/loc_cfg.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/utils/loc_cfg.cpp b/utils/loc_cfg.cpp
index de887ee..55e4804 100644
--- a/utils/loc_cfg.cpp
+++ b/utils/loc_cfg.cpp
@@ -622,6 +622,9 @@ int loc_read_process_conf(const char* conf_file_name, uint32_t * process_count_p
LOC_LOGD("%s:%d]: Setting SAP to mode: BASIC", __func__, __LINE__);
loc_service_mask |= LOC_FEATURE_MASK_SAP_BASIC;
}
+ else if(strcmp(conf.feature_sap, "MODEM_DEFAULT") == 0) {
+ LOC_LOGD("%s:%d]: Setting SAP to mode: MODEM_DEFAULT", __func__, __LINE__);
+ }
else if(strcmp(conf.feature_sap, "DISABLED") == 0) {
LOC_LOGD("%s:%d]: Setting SAP to mode: DISABLED", __func__, __LINE__);
}