summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorMike Cailean <mcailean@codeaurora.org>2019-04-18 12:57:11 -0700
committerMike Cailean <mcailean@codeaurora.org>2019-04-23 15:01:14 -0700
commitcd1031a520ec204990a00ce2bc4f55a6130f7c93 (patch)
tree7901a7f8fc21b69186152f463087bfda67fd59be /core
parente3240df27fb63294175f6e8a74e51da27aba03c9 (diff)
downloadgps-cd1031a520ec204990a00ce2bc4f55a6130f7c93.tar.gz
Update proxyAppPackageName field in nfw notification
Change-Id: I993a6d9227b03626bc254675944df28cc578a6c7 CRs-fixed: 2437418
Diffstat (limited to 'core')
-rw-r--r--core/ContextBase.cpp1
-rw-r--r--core/ContextBase.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/core/ContextBase.cpp b/core/ContextBase.cpp
index 28109bb..9650701 100644
--- a/core/ContextBase.cpp
+++ b/core/ContextBase.cpp
@@ -78,6 +78,7 @@ const loc_param_s_type ContextBase::mGps_conf_table[] =
{"CONSTRAINED_TIME_UNCERTAINTY_THRESHOLD", &mGps_conf.CONSTRAINED_TIME_UNCERTAINTY_THRESHOLD, NULL, 'f'},
{"CONSTRAINED_TIME_UNCERTAINTY_ENERGY_BUDGET", &mGps_conf.CONSTRAINED_TIME_UNCERTAINTY_ENERGY_BUDGET, NULL, 'n'},
{"POSITION_ASSISTED_CLOCK_ESTIMATOR_ENABLED", &mGps_conf.POSITION_ASSISTED_CLOCK_ESTIMATOR_ENABLED, NULL, 'n'},
+ {"PROXY_APP_PACKAGE_NAME", &mGps_conf.PROXY_APP_PACKAGE_NAME, NULL, 's' },
};
const loc_param_s_type ContextBase::mSap_conf_table[] =
diff --git a/core/ContextBase.h b/core/ContextBase.h
index 9c72835..8fc2bd5 100644
--- a/core/ContextBase.h
+++ b/core/ContextBase.h
@@ -71,6 +71,7 @@ typedef struct loc_gps_cfg_s
double CONSTRAINED_TIME_UNCERTAINTY_THRESHOLD;
uint32_t CONSTRAINED_TIME_UNCERTAINTY_ENERGY_BUDGET;
uint32_t POSITION_ASSISTED_CLOCK_ESTIMATOR_ENABLED;
+ char PROXY_APP_PACKAGE_NAME[LOC_MAX_PARAM_STRING];
} loc_gps_cfg_s_type;
/* NOTE: the implementaiton of the parser casts number