[Android] Favorites only for network for now

Geoffrey Métais git at videolan.org
Mon Apr 20 15:00:46 CEST 2015


vlc-ports/android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Mon Apr 20 13:20:50 2015 +0200| [c9ada0b87f65c3e9360bcc261bab6c4c3d0f8b25] | committer: Geoffrey Métais

Favorites only for network for now

> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=c9ada0b87f65c3e9360bcc261bab6c4c3d0f8b25
---

 vlc-android/src/org/videolan/vlc/gui/MainActivity.java |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/vlc-android/src/org/videolan/vlc/gui/MainActivity.java b/vlc-android/src/org/videolan/vlc/gui/MainActivity.java
index 021936f..3b96176 100644
--- a/vlc-android/src/org/videolan/vlc/gui/MainActivity.java
+++ b/vlc-android/src/org/videolan/vlc/gui/MainActivity.java
@@ -497,7 +497,7 @@ public class MainActivity extends ActionBarActivity implements OnItemClickListen
                     item.setTitle(R.string.sortby_date);
         }
 
-        boolean networkSave = current instanceof BaseBrowserFragment && !((BaseBrowserFragment)current).isRootDirectory();
+        boolean networkSave = current instanceof NetworkBrowserFragment && !((NetworkBrowserFragment)current).isRootDirectory();
         if (networkSave) {
             MenuItem item = menu.findItem(R.id.ml_menu_save);
             item.setVisible(true);



More information about the Android mailing list