Fix saving compass rotation to exif

This commit is contained in:
PavelRatushny 2017-07-17 19:40:01 +03:00
parent 2ef973a0d0
commit dc250cd768

View file

@ -386,7 +386,7 @@ public class AudioVideoNotesPlugin extends OsmandPlugin {
rot -= 360;
}
int abs = (int) (Math.abs(rot) * 100.0);
String rotString = abs / 100f + "";
String rotString = abs + "/100";
setAttribute.invoke(exInstance, "GPSImgDirection", rotString);
}
if (loc != null && loc.hasAltitude()) {