diff options
author | Ilya Grechuhin <i.grechuhin@gmail.com> | 2016-11-02 13:26:39 +0300 |
---|---|---|
committer | Ilya Grechuhin <i.grechuhin@gmail.com> | 2016-11-02 13:26:39 +0300 |
commit | 8616831c61091a9fd85821a01e8ad5ba9dc54ad8 (patch) | |
tree | c4d1f7bf6d2681703a5a79c23b8d5ff1da08d208 /map | |
parent | 5c7db24491f468ed1500078386fc787721396f9e (diff) |
[tracking] Changed track reporter start condition to following state.
Diffstat (limited to 'map')
-rw-r--r-- | map/framework.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/map/framework.cpp b/map/framework.cpp index 3276a0fa46..a797462618 100644 --- a/map/framework.cpp +++ b/map/framework.cpp @@ -236,7 +236,7 @@ bool Framework::IsTrackingReporterEnabled() const if (m_currentRouterType != routing::RouterType::Vehicle) return false; - if (!m_routingSession.IsOnRoute()) + if (!m_routingSession.IsFollowing()) return false; bool enableTracking = false; |