remove surplus code

This commit is contained in:
sonora 2013-04-07 17:43:06 +02:00
parent f40fbc1367
commit 9937dbfd5e

View file

@ -199,10 +199,6 @@ public class MapActivityLayers {
// update transparency
int mapTransparency = settings.MAP_UNDERLAY.get() == null ? 255 : settings.MAP_TRANSPARENCY.get();
//if (OsmandPlugin.getEnabledPlugin(SRTMPlugin.class) != null
// && OsmandPlugin.getEnabledPlugin(SRTMPlugin.class).isHillShadeLayerEnabled()) {
// mapTransparency = Math.min(mapTransparency, 170);
//}
mapTileLayer.setAlpha(mapTransparency);
mapVectorLayer.setAlpha(mapTransparency);