From 71100e28b442fa52d779b1c657343be436002e76 Mon Sep 17 00:00:00 2001 From: Victor Shcherb Date: Sun, 25 Oct 2015 16:34:03 +0100 Subject: [PATCH] Fix --- OsmAnd/src/net/osmand/plus/WorldRegion.java | 1 + OsmAnd/src/net/osmand/plus/download/ui/ItemViewHolder.java | 4 ---- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/OsmAnd/src/net/osmand/plus/WorldRegion.java b/OsmAnd/src/net/osmand/plus/WorldRegion.java index 172d75f776..f3f7910870 100644 --- a/OsmAnd/src/net/osmand/plus/WorldRegion.java +++ b/OsmAnd/src/net/osmand/plus/WorldRegion.java @@ -253,6 +253,7 @@ public class WorldRegion { } public LatLon getCenter() { + // TODO return center; } diff --git a/OsmAnd/src/net/osmand/plus/download/ui/ItemViewHolder.java b/OsmAnd/src/net/osmand/plus/download/ui/ItemViewHolder.java index 9a55e8b983..25d80cc39c 100644 --- a/OsmAnd/src/net/osmand/plus/download/ui/ItemViewHolder.java +++ b/OsmAnd/src/net/osmand/plus/download/ui/ItemViewHolder.java @@ -47,7 +47,6 @@ public class ItemViewHolder { protected final ImageView rightImageButton; protected final Button rightButton; protected final ProgressBar progressBar; - private final OsmandSettings.CommonPreference isFirstMapDownloadedPreference; private boolean srtmDisabled; private boolean srtmNeedsInstallation; @@ -94,9 +93,6 @@ public class ItemViewHolder { textColorPrimary = typedValue.data; theme.resolveAttribute(android.R.attr.textColorSecondary, typedValue, true); textColorSecondary = typedValue.data; - - isFirstMapDownloadedPreference = context.getMyApplication().getSettings() - .registerBooleanPreference(DownloadActivity.FIRST_MAP_DOWNLOADED, false).makeGlobal(); } public void setShowRemoteDate(boolean showRemoteDate) {