[Android] Fix keyboard not shown on search

Geoffrey Métais git at videolan.org
Tue May 21 12:00:39 CEST 2019


vlc-android | branch: 3.1.x | Geoffrey Métais <geoffrey.metais at gmail.com> | Tue May 21 12:00:18 2019 +0200| [b8acf27e12e55a84d4c413269f26fecedf406e7b] | committer: Geoffrey Métais

Fix keyboard not shown on search

> https://code.videolan.org/videolan/vlc-android/commit/b8acf27e12e55a84d4c413269f26fecedf406e7b
---

 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 2fff634be..806bdf6cc 100644
--- a/vlc-android/src/org/videolan/vlc/gui/MainActivity.java
+++ b/vlc-android/src/org/videolan/vlc/gui/MainActivity.java
@@ -301,7 +301,7 @@ public class MainActivity extends ContentActivity implements ExtensionManagerSer
     @Override
     public boolean onOptionsItemSelected(MenuItem item) {
         closeDrawer();
-        UiTools.setKeyboardVisibility(mDrawerLayout, false);
+        if (item.getItemId() != R.id.ml_menu_filter) UiTools.setKeyboardVisibility(mDrawerLayout, false);
 
         // Handle item selection
         switch (item.getItemId()) {



More information about the Android mailing list