From dc250cd76863483b2fe23062a91cc7dbd24b027d Mon Sep 17 00:00:00 2001 From: PavelRatushny Date: Mon, 17 Jul 2017 19:40:01 +0300 Subject: [PATCH] Fix saving compass rotation to exif --- .../src/net/osmand/plus/audionotes/AudioVideoNotesPlugin.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OsmAnd/src/net/osmand/plus/audionotes/AudioVideoNotesPlugin.java b/OsmAnd/src/net/osmand/plus/audionotes/AudioVideoNotesPlugin.java index 3b181dee32..7103e2457a 100644 --- a/OsmAnd/src/net/osmand/plus/audionotes/AudioVideoNotesPlugin.java +++ b/OsmAnd/src/net/osmand/plus/audionotes/AudioVideoNotesPlugin.java @@ -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()) {