From b2dab33f9ae15e6bd2d96f4fb9a544589ca7bbba Mon Sep 17 00:00:00 2001 From: Alexander Marchuk Date: Thu, 17 Mar 2016 16:13:46 +0300 Subject: [PATCH] [new downloader][android] fix: Show alert if trying to delete map while navigation is active. --- .../mapswithme/maps/downloader/DownloaderAdapter.java | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/android/src/com/mapswithme/maps/downloader/DownloaderAdapter.java b/android/src/com/mapswithme/maps/downloader/DownloaderAdapter.java index 651e9d58ed..7366b53bf7 100644 --- a/android/src/com/mapswithme/maps/downloader/DownloaderAdapter.java +++ b/android/src/com/mapswithme/maps/downloader/DownloaderAdapter.java @@ -32,6 +32,7 @@ import com.mapswithme.maps.MwmApplication; import com.mapswithme.maps.R; import com.mapswithme.maps.background.Notifier; import com.mapswithme.maps.location.LocationHelper; +import com.mapswithme.maps.routing.RoutingController; import com.mapswithme.maps.widget.WheelProgressView; import com.mapswithme.util.BottomSheetHelper; import com.mapswithme.util.Graphics; @@ -97,6 +98,16 @@ class DownloaderAdapter extends RecyclerView.Adapter