Remove dev logs
This commit is contained in:
parent
a9d2040e7e
commit
efe669f5bc
3 changed files with 0 additions and 10 deletions
|
@ -2,7 +2,6 @@ package net.osmand.plus.dialogs;
|
||||||
|
|
||||||
import android.support.annotation.NonNull;
|
import android.support.annotation.NonNull;
|
||||||
import android.support.annotation.StringRes;
|
import android.support.annotation.StringRes;
|
||||||
import android.util.Log;
|
|
||||||
import android.view.View;
|
import android.view.View;
|
||||||
import android.widget.ArrayAdapter;
|
import android.widget.ArrayAdapter;
|
||||||
|
|
||||||
|
@ -113,10 +112,8 @@ public class RasterMapMenu {
|
||||||
isChecked ? currentMapTypeSeekbarMode : LayerTransparencySeekbarMode.OFF);
|
isChecked ? currentMapTypeSeekbarMode : LayerTransparencySeekbarMode.OFF);
|
||||||
if (isChecked) {
|
if (isChecked) {
|
||||||
mapLayers.getMapControlsLayer().showTransparencyBar(mapTransparencyPreference);
|
mapLayers.getMapControlsLayer().showTransparencyBar(mapTransparencyPreference);
|
||||||
Log.e("111", "checkbox: show");
|
|
||||||
} else {
|
} else {
|
||||||
mapLayers.getMapControlsLayer().hideTransparencyBar(mapTransparencyPreference);
|
mapLayers.getMapControlsLayer().hideTransparencyBar(mapTransparencyPreference);
|
||||||
Log.e("111", "checkbox: hide");
|
|
||||||
}
|
}
|
||||||
mapLayers.getMapControlsLayer().setTransparencyBarEnabled(isChecked);
|
mapLayers.getMapControlsLayer().setTransparencyBarEnabled(isChecked);
|
||||||
}
|
}
|
||||||
|
|
|
@ -6,7 +6,6 @@ import android.os.AsyncTask;
|
||||||
import android.support.annotation.NonNull;
|
import android.support.annotation.NonNull;
|
||||||
import android.support.annotation.Nullable;
|
import android.support.annotation.Nullable;
|
||||||
import android.support.v7.app.AlertDialog;
|
import android.support.v7.app.AlertDialog;
|
||||||
import android.util.Log;
|
|
||||||
import android.view.View;
|
import android.view.View;
|
||||||
import android.widget.AdapterView;
|
import android.widget.AdapterView;
|
||||||
import android.widget.AdapterView.OnItemSelectedListener;
|
import android.widget.AdapterView.OnItemSelectedListener;
|
||||||
|
@ -563,11 +562,9 @@ public class OsmandRasterMapsPlugin extends OsmandPlugin {
|
||||||
type == OsmandRasterMapsPlugin.RasterMapType.OVERLAY ? OsmandSettings.LayerTransparencySeekbarMode.OVERLAY : OsmandSettings.LayerTransparencySeekbarMode.UNDERLAY;
|
type == OsmandRasterMapsPlugin.RasterMapType.OVERLAY ? OsmandSettings.LayerTransparencySeekbarMode.OVERLAY : OsmandSettings.LayerTransparencySeekbarMode.UNDERLAY;
|
||||||
seekbarModePref.set(currentMapTypeSeekbarMode);
|
seekbarModePref.set(currentMapTypeSeekbarMode);
|
||||||
}
|
}
|
||||||
Log.e("111", "toggleUnderlayState: show");
|
|
||||||
} else if (hideSeekbar) {
|
} else if (hideSeekbar) {
|
||||||
mapLayers.getMapControlsLayer().hideTransparencyBar(mapTransparencyPreference);
|
mapLayers.getMapControlsLayer().hideTransparencyBar(mapTransparencyPreference);
|
||||||
mapLayers.getMapControlsLayer().setTransparencyBarEnabled(false);
|
mapLayers.getMapControlsLayer().setTransparencyBarEnabled(false);
|
||||||
Log.e("111", "toggleUnderlayState: hide");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (map != null) {
|
if (map != null) {
|
||||||
|
|
|
@ -14,7 +14,6 @@ import android.os.Build;
|
||||||
import android.support.annotation.NonNull;
|
import android.support.annotation.NonNull;
|
||||||
import android.support.v4.app.ActivityCompat;
|
import android.support.v4.app.ActivityCompat;
|
||||||
import android.support.v7.app.AlertDialog;
|
import android.support.v7.app.AlertDialog;
|
||||||
import android.util.Log;
|
|
||||||
import android.view.MotionEvent;
|
import android.view.MotionEvent;
|
||||||
import android.view.View;
|
import android.view.View;
|
||||||
import android.view.View.OnClickListener;
|
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.activities.search.SearchAddressFragment;
|
||||||
import net.osmand.plus.dashboard.DashboardOnMap.DashboardType;
|
import net.osmand.plus.dashboard.DashboardOnMap.DashboardType;
|
||||||
import net.osmand.plus.mapcontextmenu.other.MapRouteInfoMenu;
|
import net.osmand.plus.mapcontextmenu.other.MapRouteInfoMenu;
|
||||||
import net.osmand.plus.rastermaps.OsmandRasterMapsPlugin;
|
|
||||||
import net.osmand.plus.routing.RoutingHelper;
|
import net.osmand.plus.routing.RoutingHelper;
|
||||||
import net.osmand.plus.views.corenative.NativeCoreContext;
|
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) {
|
if (seekbarMode == LayerTransparencySeekbarMode.OVERLAY && settings.MAP_OVERLAY.get() != null) {
|
||||||
showTransparencyBar(settings.MAP_OVERLAY_TRANSPARENCY);
|
showTransparencyBar(settings.MAP_OVERLAY_TRANSPARENCY);
|
||||||
setTransparencyBarEnabled(true);
|
setTransparencyBarEnabled(true);
|
||||||
Log.e("111", "init: show OVERLAY");
|
|
||||||
} else if (seekbarMode == LayerTransparencySeekbarMode.UNDERLAY && settings.MAP_UNDERLAY.get() != null) {
|
} else if (seekbarMode == LayerTransparencySeekbarMode.UNDERLAY && settings.MAP_UNDERLAY.get() != null) {
|
||||||
showTransparencyBar(settings.MAP_TRANSPARENCY);
|
showTransparencyBar(settings.MAP_TRANSPARENCY);
|
||||||
setTransparencyBarEnabled(true);
|
setTransparencyBarEnabled(true);
|
||||||
Log.e("111", "init: show UNDERLAY");
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue