From c3eef1960c19e661db9ef9f74b00a04b5b7d1042 Mon Sep 17 00:00:00 2001 From: Alexander Marchuk Date: Fri, 11 Dec 2015 19:35:55 +0300 Subject: [PATCH] [android] fix: Do not cancel track recording on GPS error. --- android/src/com/mapswithme/maps/location/TrackRecorder.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/android/src/com/mapswithme/maps/location/TrackRecorder.java b/android/src/com/mapswithme/maps/location/TrackRecorder.java index 4d62a724b8..4c62d30770 100644 --- a/android/src/com/mapswithme/maps/location/TrackRecorder.java +++ b/android/src/com/mapswithme/maps/location/TrackRecorder.java @@ -27,7 +27,7 @@ public final class TrackRecorder @Override public void onLocationError(int errorCode) { - setEnabled(false); + TrackRecorderWakeService.stop(); } @Override