Fix #9623 part 3 (delete useless code)
This commit is contained in:
parent
2e388a0606
commit
7534f8b28b
3 changed files with 1 additions and 6 deletions
|
@ -100,7 +100,6 @@ import static net.osmand.render.RenderingRuleStorageProperties.UI_CATEGORY_ROUTE
|
||||||
|
|
||||||
public class ConfigureMapMenu {
|
public class ConfigureMapMenu {
|
||||||
private static final Log LOG = PlatformUtil.getLog(ConfigureMapMenu.class);
|
private static final Log LOG = PlatformUtil.getLog(ConfigureMapMenu.class);
|
||||||
public static final String TAG = ConfigureMapMenu.class.getName();
|
|
||||||
public static final String HIKING_ROUTES_OSMC_ATTR = "hikingRoutesOSMC";
|
public static final String HIKING_ROUTES_OSMC_ATTR = "hikingRoutesOSMC";
|
||||||
public static final String CURRENT_TRACK_COLOR_ATTR = "currentTrackColor";
|
public static final String CURRENT_TRACK_COLOR_ATTR = "currentTrackColor";
|
||||||
public static final String CURRENT_TRACK_WIDTH_ATTR = "currentTrackWidth";
|
public static final String CURRENT_TRACK_WIDTH_ATTR = "currentTrackWidth";
|
||||||
|
|
|
@ -361,8 +361,4 @@ public class RendererRegistry {
|
||||||
public Map<String, File> getExternalRenderers() {
|
public Map<String, File> getExternalRenderers() {
|
||||||
return externalRenderers;
|
return externalRenderers;
|
||||||
}
|
}
|
||||||
|
|
||||||
public interface OnChangeRenderingRuleListener {
|
|
||||||
void onRenderingRuleChanged(RenderingRulesStorage currentSelectedRender);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -197,7 +197,7 @@ public class ConfigureMenuItemsFragment extends BaseOsmAndFragment
|
||||||
contextMenuAdapter = ((MapActivity) activity).getMapActions().createMainOptionsMenu();
|
contextMenuAdapter = ((MapActivity) activity).getMapActions().createMainOptionsMenu();
|
||||||
break;
|
break;
|
||||||
case CONFIGURE_MAP:
|
case CONFIGURE_MAP:
|
||||||
ConfigureMapMenu configureMapMenu = new ConfigureMapMenu((MapActivity)activity);
|
ConfigureMapMenu configureMapMenu = new ConfigureMapMenu((MapActivity) activity);
|
||||||
contextMenuAdapter = configureMapMenu.createListAdapter((MapActivity) activity);
|
contextMenuAdapter = configureMapMenu.createListAdapter((MapActivity) activity);
|
||||||
break;
|
break;
|
||||||
case CONTEXT_MENU_ACTIONS:
|
case CONTEXT_MENU_ACTIONS:
|
||||||
|
|
Loading…
Reference in a new issue