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));