diff options
author | Dante Russo <drusso@codeaurora.org> | 2017-07-27 10:44:54 -0700 |
---|---|---|
committer | Dante Russo <drusso@codeaurora.org> | 2017-07-27 14:04:23 -0700 |
commit | c1da12aa2ee46d736fdce10351d1fa7c69f75824 (patch) | |
tree | 956d78565637ee23f30e1ec2bea45fe4645edeb7 /location/LocationAPIClientBase.h | |
parent | 7cc7da646c990160d6910daa9c1bad9e2eb18d2c (diff) | |
download | gps-c1da12aa2ee46d736fdce10351d1fa7c69f75824.tar.gz |
Prevent gps stuck on if multiple starts are called
If framework happens to call start of session multiple
times without calling stop first, it can cause a session
to get stuck on without any way to stop it
CRs-fixed: 2083756
Change-Id: Ic871d870ca67c9465438f8494e381bfbcb85a830
Diffstat (limited to 'location/LocationAPIClientBase.h')
-rw-r--r-- | location/LocationAPIClientBase.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/location/LocationAPIClientBase.h b/location/LocationAPIClientBase.h index dca6f1a..a856054 100644 --- a/location/LocationAPIClientBase.h +++ b/location/LocationAPIClientBase.h @@ -539,6 +539,7 @@ private: BiDict<GeofenceBreachTypeMask> mGeofenceBiDict; BiDict<SessionEntity> mSessionBiDict; int32_t mBatchSize; + bool mTracking; }; #endif /* LOCATION_API_CLINET_BASE_H */ |