summaryrefslogtreecommitdiff
path: root/utils/loc_cfg.cpp
diff options
context:
space:
mode:
authorKevin Tang <zhikait@codeaurora.org>2019-02-01 14:56:46 -0800
committerKevin Tang <zhikait@codeaurora.org>2019-02-01 14:56:46 -0800
commit4b5fd7ed54abbc6cd1b87d6e33376098d8b82795 (patch)
treef7eb8b461f242dfc9aac410115b758f5931ec4cd /utils/loc_cfg.cpp
parent955f05e8e79829498422ae2958e0eb0406a13409 (diff)
downloadgps-4b5fd7ed54abbc6cd1b87d6e33376098d8b82795.tar.gz
process launch switch based on vendor enhanced check is incorrect
Some vendor enhaced processes are not to be launched only if this is not a vendor enhanced produce. Condition incorrect. Change-Id: Ieb520d77500f78968cb78b69169b068356f880ab CRs-Fixed: 2392220
Diffstat (limited to 'utils/loc_cfg.cpp')
-rw-r--r--utils/loc_cfg.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/loc_cfg.cpp b/utils/loc_cfg.cpp
index 4ab68f0..8160cc1 100644
--- a/utils/loc_cfg.cpp
+++ b/utils/loc_cfg.cpp
@@ -768,7 +768,7 @@ int loc_read_process_conf(const char* conf_file_name, uint32_t * process_count_p
continue;
}
- if (isVendorEnhanced() != conf.vendor_enhanced_process != 0) {
+ if (!isVendorEnhanced() && (conf.vendor_enhanced_process != 0)) {
LOC_LOGD("%s:%d]: Process %s is disabled via vendor enhanced process check",
__func__, __LINE__, conf.proc_name);
child_proc[j].proc_status = DISABLED_VIA_VENDOR_ENHANCED_CHECK;