diff --git a/OsmAnd/src/net/osmand/plus/search/QuickSearchDialogFragment.java b/OsmAnd/src/net/osmand/plus/search/QuickSearchDialogFragment.java index dfc80ac122..4fd56f9191 100644 --- a/OsmAnd/src/net/osmand/plus/search/QuickSearchDialogFragment.java +++ b/OsmAnd/src/net/osmand/plus/search/QuickSearchDialogFragment.java @@ -31,7 +31,6 @@ import net.osmand.Location; import net.osmand.ResultMatcher; import net.osmand.binary.BinaryMapIndexReader; import net.osmand.data.Amenity; -import net.osmand.data.Building; import net.osmand.data.FavouritePoint; import net.osmand.data.LatLon; import net.osmand.data.PointDescription; diff --git a/OsmAnd/src/net/osmand/plus/views/MapControlsLayer.java b/OsmAnd/src/net/osmand/plus/views/MapControlsLayer.java index 5d9dac60dc..7a94729743 100644 --- a/OsmAnd/src/net/osmand/plus/views/MapControlsLayer.java +++ b/OsmAnd/src/net/osmand/plus/views/MapControlsLayer.java @@ -538,7 +538,7 @@ public class MapControlsLayer extends OsmandMapLayer { mapZoomIn.updateVisibility(!dialogOpened); mapZoomOut.updateVisibility(!dialogOpened); - compassHud.updateVisibility(!dialogOpened && cachedRotate != 0); + compassHud.updateVisibility(!dialogOpened); layersHud.updateVisibility(!dialogOpened); quickSearch.updateVisibility(!dialogOpened); @@ -584,7 +584,6 @@ public class MapControlsLayer extends OsmandMapLayer { compassHud.setIconResId(isNight ? R.drawable.map_compass_white : R.drawable.map_compass); compassHud.iv.setContentDescription(mapActivity.getString(R.string.rotate_map_compass_opt)); } - compassHud.updateVisibility(cachedRotate != 0); } private void updateMyLocation(RoutingHelper rh, boolean dialogOpened) {