[Android] Close the keyboard when playing an item after a video search

Nicolas Pomepuy git at videolan.org
Wed Sep 1 11:39:51 UTC 2021


vlc-android | branch: master | Nicolas Pomepuy <nicolas at videolabs.io> | Mon Aug 30 10:19:44 2021 +0200| [15257940c2bbeff4bf63db56014aa24e0b775fa9] | committer: Nicolas Pomepuy

Close the keyboard when playing an item after a video search

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

 .../src/org/videolan/vlc/gui/video/VideoPlayerOverlayDelegate.kt         | 1 +
 1 file changed, 1 insertion(+)

diff --git a/application/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerOverlayDelegate.kt b/application/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerOverlayDelegate.kt
index 16ee6cd87..fd6eb8ce1 100644
--- a/application/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerOverlayDelegate.kt
+++ b/application/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerOverlayDelegate.kt
@@ -651,6 +651,7 @@ class VideoPlayerOverlayDelegate (private val player: VideoPlayerActivity) {
         if (player.isPlaylistVisible) {
             playlistContainer.setGone()
             playlist.setOnClickListener(null)
+            UiTools.setKeyboardVisibility(playlistContainer, false)
             return
         }
         hideOverlay(true)



More information about the Android mailing list