[Android] Close drawer on menu item click

Geoffrey Métais git at videolan.org
Tue Nov 25 11:47:05 CET 2014


vlc-ports/android | branch: 1.0.x | Geoffrey Métais <geoffrey.metais at gmail.com> | Mon Nov 24 16:07:32 2014 +0100| [2926b255128c986264ab70966c4b8bbfa782e4db] | committer: Jean-Baptiste Kempf

Close drawer on menu item click

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
(cherry picked from commit 8b234475d5d01f585ba28db55dbde9c2e8b73471)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

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

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



More information about the Android mailing list