summaryrefslogtreecommitdiff
path: root/msm8084
diff options
context:
space:
mode:
authorDante Russo <drusso@codeaurora.org>2016-07-21 01:33:06 +0000
committerandroid-build-merger <android-build-merger@google.com>2016-07-21 01:33:06 +0000
commit155a71c33b3b7f32b1f5a1ac4638a5e1b3ae052a (patch)
tree3dc1aceef02af8b613d8a5e80b30302627a4dae3 /msm8084
parentfb1c9046133a33344f617f495bda673ee34ab4da (diff)
parentfecc8ce536377c38a9f7bfcc9f26a32afded5aca (diff)
downloadgps-155a71c33b3b7f32b1f5a1ac4638a5e1b3ae052a.tar.gz
Fix logging level and remove nmea log
am: fecc8ce536 Change-Id: Ib8a0ae7da0886a377b658a2fa1e8fe867bdc13aa
Diffstat (limited to 'msm8084')
-rw-r--r--msm8084/etc/gps.conf2
-rw-r--r--msm8084/loc_api/libloc_api_50001/loc_eng.cpp1
-rw-r--r--msm8084/loc_api/libloc_api_50001/loc_eng_nmea.cpp1
3 files changed, 1 insertions, 3 deletions
diff --git a/msm8084/etc/gps.conf b/msm8084/etc/gps.conf
index 01fee6c..fb8a312 100644
--- a/msm8084/etc/gps.conf
+++ b/msm8084/etc/gps.conf
@@ -21,7 +21,7 @@ NTP_SERVER=time.gpsonextra.net
# DEBUG LEVELS: 0 - none, 1 - Error, 2 - Warning, 3 - Info
# 4 - Debug, 5 - Verbose
# If DEBUG_LEVEL is commented, Android's logging levels will be used
-DEBUG_LEVEL = 3
+DEBUG_LEVEL = 2
# Intermediate position report, 1=enable, 0=disable
INTERMEDIATE_POS=0
diff --git a/msm8084/loc_api/libloc_api_50001/loc_eng.cpp b/msm8084/loc_api/libloc_api_50001/loc_eng.cpp
index cba5ffa..3c687e8 100644
--- a/msm8084/loc_api/libloc_api_50001/loc_eng.cpp
+++ b/msm8084/loc_api/libloc_api_50001/loc_eng.cpp
@@ -923,7 +923,6 @@ void LocEngReportNmea::proc() const {
struct timeval tv;
gettimeofday(&tv, (struct timezone *) NULL);
int64_t now = tv.tv_sec * 1000LL + tv.tv_usec / 1000;
- CALLBACK_LOG_CALLFLOW("nmea_cb", %d, mLen);
if (locEng->nmea_cb != NULL)
locEng->nmea_cb(now, mNmea, mLen);
diff --git a/msm8084/loc_api/libloc_api_50001/loc_eng_nmea.cpp b/msm8084/loc_api/libloc_api_50001/loc_eng_nmea.cpp
index 842eda1..978f7a9 100644
--- a/msm8084/loc_api/libloc_api_50001/loc_eng_nmea.cpp
+++ b/msm8084/loc_api/libloc_api_50001/loc_eng_nmea.cpp
@@ -59,7 +59,6 @@ void loc_eng_nmea_send(char *pNmea, int length, loc_eng_data_s_type *loc_eng_dat
struct timeval tv;
gettimeofday(&tv, (struct timezone *) NULL);
int64_t now = tv.tv_sec * 1000LL + tv.tv_usec / 1000;
- CALLBACK_LOG_CALLFLOW("nmea_cb", %p, pNmea);
if (loc_eng_data_p->nmea_cb != NULL)
loc_eng_data_p->nmea_cb(now, pNmea, length);
LOC_LOGD("NMEA <%s", pNmea);