forked from organicmaps/organicmaps
[android] Minor perfomance fix
This commit is contained in:
parent
c04d3668b7
commit
b8baaca8c3
1 changed files with 1 additions and 1 deletions
|
@ -304,7 +304,7 @@ public class LocationService implements LocationListener, SensorEventListener, W
|
|||
break;
|
||||
}
|
||||
|
||||
north = (float) (north - 360 * Math.floor(north / 360));
|
||||
north = (north - 360 * android.util.FloatMath.floor(north / 360));
|
||||
|
||||
notifyCompassUpdated(event.timestamp, north, north + offset, offset);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue