From 4b5fd7ed54abbc6cd1b87d6e33376098d8b82795 Mon Sep 17 00:00:00 2001 From: Kevin Tang Date: Fri, 1 Feb 2019 14:56:46 -0800 Subject: [PATCH] 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 --- utils/loc_cfg.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/loc_cfg.cpp b/utils/loc_cfg.cpp index 4ab68f01..8160cc14 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;