[Android] Revert "init browse MenuItem properly"

Edward Wang git at videolan.org
Sun Aug 12 04:28:03 CEST 2012


android | branch: master | Edward Wang <edward.c.wang at compdigitec.com> | Sat Aug 11 12:06:15 2012 -0400| [4a2f33bb25201f208d53fd7568539dda89d44660] | committer: Edward Wang

Revert "init browse MenuItem properly"

This reverts commit c034fc3a59a63fb04492f28cf0ee50dd4ec4c212.

This is no longer needed, as the menu item is going to be removed.

> http://git.videolan.org/gitweb.cgi/android.git/?a=commit;h=4a2f33bb25201f208d53fd7568539dda89d44660
---

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

diff --git a/vlc-android/src/org/videolan/vlc/gui/MainActivity.java b/vlc-android/src/org/videolan/vlc/gui/MainActivity.java
index c135759..3256ebb 100644
--- a/vlc-android/src/org/videolan/vlc/gui/MainActivity.java
+++ b/vlc-android/src/org/videolan/vlc/gui/MainActivity.java
@@ -288,8 +288,6 @@ public class MainActivity extends SherlockFragmentActivity {
          */
         MenuInflater inflater = getSupportMenuInflater();
         inflater.inflate(R.menu.media_library, menu);
-        MenuItem browse = menu.findItem(R.id.ml_menu_browse);
-        browse.setTitle(mMediaLibraryActive ? R.string.directories : R.string.media_library);
         return super.onCreateOptionsMenu(menu);
     }
 



More information about the Android mailing list