From 52b3260a1fe239eaa87c0b71ad0f8d91af3f7ddd Mon Sep 17 00:00:00 2001 From: Samuel Tardieu Date: Tue, 6 Jan 2015 21:31:48 +0100 Subject: fix #4591: refreshing without progress leads to ANR --- tests/src/cgeo/geocaching/export/ExportTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/src/cgeo/geocaching/export/ExportTest.java b/tests/src/cgeo/geocaching/export/ExportTest.java index 7dc4ed9..965abdd 100644 --- a/tests/src/cgeo/geocaching/export/ExportTest.java +++ b/tests/src/cgeo/geocaching/export/ExportTest.java @@ -34,7 +34,7 @@ public class ExportTest extends CGeoTestCase { cache.setCoords(new Geopoint("N 49 44.000 E 8 37.000")); final LogEntry log = new LogEntry(1353244820000L, LogType.FOUND_IT, "Smile: \ud83d\ude0a"); DataStore.saveCache(cache, LoadFlags.SAVE_ALL); - DataStore.saveLogsWithoutTransaction(cache.getGeocode(), Collections.singletonList(log)); + DataStore.saveLogs(cache.getGeocode(), Collections.singletonList(log)); ArrayList exportList = new ArrayList(); exportList.add(cache); GpxExportTester gpxExport = new GpxExportTester(); -- cgit v1.1