From 2ebd2e6bee73a176146ea513beb5fc9656fa3cb2 Mon Sep 17 00:00:00 2001 From: Bars107 Date: Thu, 19 Feb 2015 15:22:54 +0200 Subject: [PATCH] update to Notes in my places --- OsmAnd/src/net/osmand/plus/activities/FavoritesActivity.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/OsmAnd/src/net/osmand/plus/activities/FavoritesActivity.java b/OsmAnd/src/net/osmand/plus/activities/FavoritesActivity.java index 68c551169f..ff3943338d 100644 --- a/OsmAnd/src/net/osmand/plus/activities/FavoritesActivity.java +++ b/OsmAnd/src/net/osmand/plus/activities/FavoritesActivity.java @@ -83,7 +83,8 @@ public class FavoritesActivity extends TabActivity { mTabs.add(getTabIndicator(R.string.my_favorites, FavoritesTreeFragment.class)); mTabs.add(getTabIndicator(R.string.my_tracks, AvailableGPXFragment.class)); AudioVideoNotesPlugin audioVideoNotesPlugin = OsmandPlugin.getEnabledPlugin(AudioVideoNotesPlugin.class); - if (audioVideoNotesPlugin != null && audioVideoNotesPlugin.getAllRecordings().size() > 0){ + if (audioVideoNotesPlugin != null && audioVideoNotesPlugin.isActive() + && audioVideoNotesPlugin.getAllRecordings().size() > 0){ mTabs.add(getTabIndicator(R.string.notes, NotesFragment.class)); } mTabs.add(getTabIndicator(R.string.selected_track, SelectedGPXFragment.class));