diff --git a/OsmAnd/src/net/osmand/plus/dialogs/RasterMapMenu.java b/OsmAnd/src/net/osmand/plus/dialogs/RasterMapMenu.java index 144a4a05a1..130ee592be 100644 --- a/OsmAnd/src/net/osmand/plus/dialogs/RasterMapMenu.java +++ b/OsmAnd/src/net/osmand/plus/dialogs/RasterMapMenu.java @@ -2,7 +2,6 @@ package net.osmand.plus.dialogs; import android.support.annotation.NonNull; import android.support.annotation.StringRes; -import android.util.Log; import android.view.View; import android.widget.ArrayAdapter; @@ -113,10 +112,8 @@ public class RasterMapMenu { isChecked ? currentMapTypeSeekbarMode : LayerTransparencySeekbarMode.OFF); if (isChecked) { mapLayers.getMapControlsLayer().showTransparencyBar(mapTransparencyPreference); - Log.e("111", "checkbox: show"); } else { mapLayers.getMapControlsLayer().hideTransparencyBar(mapTransparencyPreference); - Log.e("111", "checkbox: hide"); } mapLayers.getMapControlsLayer().setTransparencyBarEnabled(isChecked); } diff --git a/OsmAnd/src/net/osmand/plus/rastermaps/OsmandRasterMapsPlugin.java b/OsmAnd/src/net/osmand/plus/rastermaps/OsmandRasterMapsPlugin.java index 0cbf61cd05..a6d79993fe 100644 --- a/OsmAnd/src/net/osmand/plus/rastermaps/OsmandRasterMapsPlugin.java +++ b/OsmAnd/src/net/osmand/plus/rastermaps/OsmandRasterMapsPlugin.java @@ -6,7 +6,6 @@ import android.os.AsyncTask; import android.support.annotation.NonNull; import android.support.annotation.Nullable; import android.support.v7.app.AlertDialog; -import android.util.Log; import android.view.View; import android.widget.AdapterView; import android.widget.AdapterView.OnItemSelectedListener; @@ -563,11 +562,9 @@ public class OsmandRasterMapsPlugin extends OsmandPlugin { type == OsmandRasterMapsPlugin.RasterMapType.OVERLAY ? OsmandSettings.LayerTransparencySeekbarMode.OVERLAY : OsmandSettings.LayerTransparencySeekbarMode.UNDERLAY; seekbarModePref.set(currentMapTypeSeekbarMode); } - Log.e("111", "toggleUnderlayState: show"); } else if (hideSeekbar) { mapLayers.getMapControlsLayer().hideTransparencyBar(mapTransparencyPreference); mapLayers.getMapControlsLayer().setTransparencyBarEnabled(false); - Log.e("111", "toggleUnderlayState: hide"); } if (map != null) { diff --git a/OsmAnd/src/net/osmand/plus/views/MapControlsLayer.java b/OsmAnd/src/net/osmand/plus/views/MapControlsLayer.java index b959d8569f..58c81628c6 100644 --- a/OsmAnd/src/net/osmand/plus/views/MapControlsLayer.java +++ b/OsmAnd/src/net/osmand/plus/views/MapControlsLayer.java @@ -14,7 +14,6 @@ import android.os.Build; import android.support.annotation.NonNull; import android.support.v4.app.ActivityCompat; import android.support.v7.app.AlertDialog; -import android.util.Log; import android.view.MotionEvent; import android.view.View; import android.view.View.OnClickListener; @@ -41,7 +40,6 @@ import net.osmand.plus.activities.MapActivity; import net.osmand.plus.activities.search.SearchAddressFragment; import net.osmand.plus.dashboard.DashboardOnMap.DashboardType; import net.osmand.plus.mapcontextmenu.other.MapRouteInfoMenu; -import net.osmand.plus.rastermaps.OsmandRasterMapsPlugin; import net.osmand.plus.routing.RoutingHelper; import net.osmand.plus.views.corenative.NativeCoreContext; @@ -652,11 +650,9 @@ public class MapControlsLayer extends OsmandMapLayer { if (seekbarMode == LayerTransparencySeekbarMode.OVERLAY && settings.MAP_OVERLAY.get() != null) { showTransparencyBar(settings.MAP_OVERLAY_TRANSPARENCY); setTransparencyBarEnabled(true); - Log.e("111", "init: show OVERLAY"); } else if (seekbarMode == LayerTransparencySeekbarMode.UNDERLAY && settings.MAP_UNDERLAY.get() != null) { showTransparencyBar(settings.MAP_TRANSPARENCY); setTransparencyBarEnabled(true); - Log.e("111", "init: show UNDERLAY"); } }