Fix metrics fix
This commit is contained in:
parent
f411eaf2dd
commit
383c14aa6e
2 changed files with 2 additions and 2 deletions
|
@ -409,7 +409,7 @@ public class ParkingPositionPlugin extends OsmandPlugin {
|
|||
* @return
|
||||
*/
|
||||
private boolean distChanged(int oldDist, int dist){
|
||||
if(oldDist != 0 && Math.abs(oldDist - dist) > 30){
|
||||
if(oldDist != 0 && Math.abs(oldDist - dist) < 30){
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
|
|
|
@ -603,7 +603,7 @@ public class RouteInfoControls {
|
|||
|
||||
|
||||
public boolean distChanged(int oldDist, int dist){
|
||||
if(oldDist != 0 && Math.abs(oldDist - dist) > 10){
|
||||
if(oldDist != 0 && Math.abs(oldDist - dist) < 10){
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
|
|
Loading…
Reference in a new issue