Cleanup code
This commit is contained in:
parent
8cf98181da
commit
35a8f65975
1 changed files with 0 additions and 15 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue