[tracking] Changed track reporter start condition to following state.

This commit is contained in:
Ilya Grechuhin 2016-11-02 13:26:39 +03:00
parent 192e067b15
commit 4929469c9b

View file

@ -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;