[Android] [PATCH 4/4] Close drawer on menu item click

Geoffrey Métais geoffrey.metais at gmail.com
Mon Nov 24 16:07:32 CET 2014


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

diff --git a/vlc-android/src/org/videolan/vlc/gui/MainActivity.java b/vlc-android/src/org/videolan/vlc/gui/MainActivity.java
index 5d5079b..5a39bc9 100644
--- a/vlc-android/src/org/videolan/vlc/gui/MainActivity.java
+++ b/vlc-android/src/org/videolan/vlc/gui/MainActivity.java
@@ -676,6 +676,7 @@ public class MainActivity extends ActionBarActivity {
                 MediaDatabase.getInstance().clearSearchHistory();
                 break;
         }
+        mRootContainer.closeDrawer(mListView);
         return super.onOptionsItemSelected(item);
     }
 
-- 
1.9.1



More information about the Android mailing list