[Android] Fix IllegalStateException

Nicolas Pomepuy git at videolan.org
Fri Jun 12 14:09:06 CEST 2020


vlc-android | branch: master | Nicolas Pomepuy <nicolas at videolabs.io> | Fri Jun 12 06:51:05 2020 +0200| [6131a690cfc19cfaa94dcad09e7bc6c27251c08c] | committer: Nicolas Pomepuy

Fix IllegalStateException

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

 application/vlc-android/src/org/videolan/vlc/gui/PlaylistActivity.kt | 1 -
 1 file changed, 1 deletion(-)

diff --git a/application/vlc-android/src/org/videolan/vlc/gui/PlaylistActivity.kt b/application/vlc-android/src/org/videolan/vlc/gui/PlaylistActivity.kt
index e9610e207..55770fad0 100644
--- a/application/vlc-android/src/org/videolan/vlc/gui/PlaylistActivity.kt
+++ b/application/vlc-android/src/org/videolan/vlc/gui/PlaylistActivity.kt
@@ -183,7 +183,6 @@ open class PlaylistActivity : AudioPlayerContainerActivity(), IEventsHandler<Med
         menu.findItem(R.id.ml_menu_sortby_length).isVisible = viewModel.canSortByDuration()
         menu.findItem(R.id.ml_menu_sortby_date).isVisible = viewModel.canSortByReleaseDate()
         menu.findItem(R.id.ml_menu_sortby_last_modified).isVisible = viewModel.canSortByLastModified()
-        menu.findItem(R.id.ml_menu_sortby_media_number).isVisible = false
         return true
     }
 



More information about the Android mailing list