From 35a8f659759b24cc3e3a417023d09a3ac829b2a2 Mon Sep 17 00:00:00 2001 From: max-klaus Date: Mon, 17 Feb 2020 19:24:33 +0300 Subject: [PATCH] Cleanup code --- .../plus/audionotes/AudioVideoNotesPlugin.java | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/OsmAnd/src/net/osmand/plus/audionotes/AudioVideoNotesPlugin.java b/OsmAnd/src/net/osmand/plus/audionotes/AudioVideoNotesPlugin.java index f957ddb0e8..93a46415cf 100644 --- a/OsmAnd/src/net/osmand/plus/audionotes/AudioVideoNotesPlugin.java +++ b/OsmAnd/src/net/osmand/plus/audionotes/AudioVideoNotesPlugin.java @@ -775,21 +775,6 @@ public class AudioVideoNotesPlugin extends OsmandPlugin { } } - private void updateWidgetIcon(final TextInfoWidget recordPlaceControl) { - recordPlaceControl.setIcons(R.drawable.widget_icon_av_inactive_day, - R.drawable.widget_icon_av_inactive_night); - if (AV_DEFAULT_ACTION.get() == AV_DEFAULT_ACTION_VIDEO) { - recordPlaceControl.setIcons(R.drawable.widget_av_video_day, - R.drawable.widget_av_video_night); - } else if (AV_DEFAULT_ACTION.get() == AV_DEFAULT_ACTION_TAKEPICTURE) { - recordPlaceControl.setIcons(R.drawable.widget_av_photo_day, - R.drawable.widget_av_photo_night); - } else if (AV_DEFAULT_ACTION.get() == AV_DEFAULT_ACTION_AUDIO) { - recordPlaceControl.setIcons(R.drawable.widget_av_audio_day, - R.drawable.widget_av_audio_night); - } - } - public void defaultAction(final MapActivity mapActivity) { final Location loc = app.getLocationProvider().getLastKnownLocation(); // double lat = mapActivity.getMapView().getLatitude();