summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteve Kondik <shade@chemlab.org>2013-03-25 16:00:15 (GMT)
committerSteve Kondik <shade@chemlab.org>2013-03-25 16:00:15 (GMT)
commit855e38f88c3a3ce508a7581df276ab8ec20f6559 (patch)
treec178658a383fa205a7858403cc8cf57d9bb891a5
parentfa20a7d4fd99a7201e6f7a4269d4ceaa949320fa (diff)
downloaddevice_samsung_smdk4412-qcom-common-855e38f88c3a3ce508a7581df276ab8ec20f6559.zip
device_samsung_smdk4412-qcom-common-855e38f88c3a3ce508a7581df276ab8ec20f6559.tar.gz
device_samsung_smdk4412-qcom-common-855e38f88c3a3ce508a7581df276ab8ec20f6559.tar.bz2
gps: Disable set_privacy
* This isn't implemented at the lower layer, so disable the call entirely.
-rw-r--r--gps/libloc_api_50001/loc_eng.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/gps/libloc_api_50001/loc_eng.cpp b/gps/libloc_api_50001/loc_eng.cpp
index 97cd9cb..7fa085c 100644
--- a/gps/libloc_api_50001/loc_eng.cpp
+++ b/gps/libloc_api_50001/loc_eng.cpp
@@ -2140,11 +2140,12 @@ static int loc_eng_set_privacy(loc_eng_data_s_type &loc_eng_data,
{
ENTRY_LOG();
INIT_CHECK(loc_eng_data.context, return -1);
+#if 0
loc_eng_msg_privacy *msg(
new loc_eng_msg_privacy(&loc_eng_data, privacy_setting));
msg_q_snd((void*)((LocEngContext*)(loc_eng_data.context))->deferred_q,
msg, loc_eng_free_msg);
-
+#endif
EXIT_LOG(%d, 0);
return 0;
}