From 8ae3b31dd374f4d211a3c46bf4fe23ca2fed03dd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johan=20Fiti=C3=A9?= Date: Wed, 21 Jun 2017 19:32:27 +0200 Subject: [Android] Delete MapInfoFile (.tmp.info) after successful download --- navit/android/src/org/navitproject/navit/NavitMapDownloader.java | 1 + 1 file changed, 1 insertion(+) (limited to 'navit/android/src') diff --git a/navit/android/src/org/navitproject/navit/NavitMapDownloader.java b/navit/android/src/org/navitproject/navit/NavitMapDownloader.java index 0d3ba1c61..dcbe83971 100644 --- a/navit/android/src/org/navitproject/navit/NavitMapDownloader.java +++ b/navit/android/src/org/navitproject/navit/NavitMapDownloader.java @@ -364,6 +364,7 @@ public class NavitMapDownloader extends Thread if (success) { toast(map_values.map_name + " " + Navit._("ready")); + getMapInfoFile().delete(); Log.d(TAG, "success"); } -- cgit v1.2.1