summaryrefslogtreecommitdiff
path: root/android/2.0/location_api/GnssAPIClient.h
diff options
context:
space:
mode:
authorDante Russo <drusso@codeaurora.org>2019-06-03 18:09:03 -0700
committerDante Russo <drusso@codeaurora.org>2019-06-04 14:48:09 -0700
commit4c9b600ed7d558bfb6b929fc588a4764065a978c (patch)
treec064bddca23ecd3283b098580066901a71dac6c5 /android/2.0/location_api/GnssAPIClient.h
parent51426e477b340950d7614ce6b1a7857b6a9b544f (diff)
downloadgps-4c9b600ed7d558bfb6b929fc588a4764065a978c.tar.gz
Report Locations to AFW only when active tracking
We want to avoid reporting locations to AFW while measurements is active but tracking is not active. Change-Id: Icbb581199e6f5eba3cfe81cb6ab39337bb7ea51a CRs-fixed: 2441384
Diffstat (limited to 'android/2.0/location_api/GnssAPIClient.h')
-rw-r--r--android/2.0/location_api/GnssAPIClient.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/android/2.0/location_api/GnssAPIClient.h b/android/2.0/location_api/GnssAPIClient.h
index 493f9ca..63b4561 100644
--- a/android/2.0/location_api/GnssAPIClient.h
+++ b/android/2.0/location_api/GnssAPIClient.h
@@ -102,6 +102,7 @@ private:
LocationCapabilitiesMask mLocationCapabilitiesMask;
bool mLocationCapabilitiesCached;
TrackingOptions mTrackingOptions;
+ bool mTracking;
sp<V2_0::IGnssCallback> mGnssCbIface_2_0;
};