diff options
author | Bhavna Sharma <sbhavna@codeaurora.org> | 2018-04-27 13:38:36 -0700 |
---|---|---|
committer | Bhavna Sharma <sbhavna@codeaurora.org> | 2018-06-18 15:19:28 -0700 |
commit | f50e02a555cd8320c8e65383030fba166dc4fead (patch) | |
tree | 57b83c5f319e78732e68f04ec819d1a09626b407 /gnss | |
parent | 7dfa87b244f3acc601c7db5721d6d5ebc50320f3 (diff) | |
download | gps-f50e02a555cd8320c8e65383030fba166dc4fead.tar.gz |
GNSS adapter: Do not send SPE NMEA to engine hub
Engine service does not need SPE NMEA report.
Change-Id: I809fa2857eec8292269b640928a44d8cc54308ed
CRs-fixed: 2232811
Diffstat (limited to 'gnss')
-rw-r--r-- | gnss/GnssAdapter.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gnss/GnssAdapter.cpp b/gnss/GnssAdapter.cpp index 98a3249..d6efe56 100644 --- a/gnss/GnssAdapter.cpp +++ b/gnss/GnssAdapter.cpp @@ -2667,7 +2667,7 @@ GnssAdapter::reportPositionEvent(const UlpLocation& ulpLocation, // for all other cases: // case 1: fix is from engine hub, queue the msg // case 2: fix is not from engine hub, e.g. from QMI, and it is not an - // unpropagated position and engine hub is not loaded, queue the msg + // unpropagated position and engine hub is not loaded, queue the msg // when message is queued, the position can be dispatched to requesting client struct MsgReportPosition : public LocMsg { GnssAdapter& mAdapter; @@ -2867,7 +2867,7 @@ void GnssAdapter::reportNmeaEvent(const char* nmea, size_t length) { if (!loc_nmea_is_debug(nmea, length)) { - mEngHubProxy->gnssReportNmea(nmea); + return; } struct MsgReportNmea : public LocMsg { |