[Android] Hide the global search button when opening the global search screen
Nicolas Pomepuy
git at videolan.org
Mon Jan 24 11:03:03 UTC 2022
vlc-android | branch: master | Nicolas Pomepuy <nicolas at videolabs.io> | Wed Jan 19 08:03:04 2022 +0100| [817de20ae5353664da67ba34934c5243e4baf712] | committer: Nicolas Pomepuy
Hide the global search button when opening the global search screen
> https://code.videolan.org/videolan/vlc-android/commit/817de20ae5353664da67ba34934c5243e4baf712
---
application/vlc-android/src/org/videolan/vlc/gui/ContentActivity.kt | 1 +
1 file changed, 1 insertion(+)
diff --git a/application/vlc-android/src/org/videolan/vlc/gui/ContentActivity.kt b/application/vlc-android/src/org/videolan/vlc/gui/ContentActivity.kt
index fd8b9312c..2eeea3808 100644
--- a/application/vlc-android/src/org/videolan/vlc/gui/ContentActivity.kt
+++ b/application/vlc-android/src/org/videolan/vlc/gui/ContentActivity.kt
@@ -158,6 +158,7 @@ open class ContentActivity : AudioPlayerContainerActivity(), SearchView.OnQueryT
override fun onQueryTextSubmit(query: String) = false
private fun openSearchActivity() {
+ setSearchVisibility(false)
startActivity(Intent(Intent.ACTION_SEARCH, null, this, SearchActivity::class.java)
.putExtra(SearchManager.QUERY, searchView.query.toString()))
}
More information about the Android
mailing list