From 1ee989c3bec0d296ba168df5a0da7a239c11bc8b Mon Sep 17 00:00:00 2001 From: Alexander Sytnyk Date: Tue, 21 Nov 2017 18:28:06 +0200 Subject: [PATCH] Rename method --- .../src/net/osmand/plus/audionotes/AudioVideoNotesPlugin.java | 2 +- .../src/net/osmand/plus/audionotes/adapters/NotesAdapter.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/OsmAnd/src/net/osmand/plus/audionotes/AudioVideoNotesPlugin.java b/OsmAnd/src/net/osmand/plus/audionotes/AudioVideoNotesPlugin.java index 116fa8cd2b..76e31beaf6 100644 --- a/OsmAnd/src/net/osmand/plus/audionotes/AudioVideoNotesPlugin.java +++ b/OsmAnd/src/net/osmand/plus/audionotes/AudioVideoNotesPlugin.java @@ -458,7 +458,7 @@ public class AudioVideoNotesPlugin extends OsmandPlugin { } - public String getNewSmallDescription(Context ctx) { + public String getExtendedDescription(Context ctx) { DateFormat dateFormat = android.text.format.DateFormat.getMediumDateFormat(ctx); String date = dateFormat.format(file.lastModified()); int size = (int) ((file.length() + 512) >> 10); diff --git a/OsmAnd/src/net/osmand/plus/audionotes/adapters/NotesAdapter.java b/OsmAnd/src/net/osmand/plus/audionotes/adapters/NotesAdapter.java index b1f8e06c7a..9fdd5a307c 100644 --- a/OsmAnd/src/net/osmand/plus/audionotes/adapters/NotesAdapter.java +++ b/OsmAnd/src/net/osmand/plus/audionotes/adapters/NotesAdapter.java @@ -195,7 +195,7 @@ public class NotesAdapter extends ArrayAdapter { holder.description.setText(R.string.av_locations_descr); } else { holder.title.setText(recording.getName(app, true)); - holder.description.setText(recording.getNewSmallDescription(app)); + holder.description.setText(recording.getExtendedDescription(app)); int iconRes = recording.isAudio() ? R.drawable.ic_type_audio : (recording.isVideo() ? R.drawable.ic_type_video : R.drawable.ic_type_img); int colorRes = app.getSettings().isLightContent() ? R.color.icon_color : R.color.ctx_menu_info_text_dark;