[Android] Rename video play queue menu

Nicolas Pomepuy git at videolan.org
Fri Oct 20 12:01:31 UTC 2023


vlc-android | branch: master | Nicolas Pomepuy <nicolas at videolabs.io> | Mon Oct  9 08:27:47 2023 +0200| [d99fc5503f4e5ddff20d2f07598dcd733671a7ad] | committer: Duncan McNamara

Rename video play queue menu

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

 .../vlc-android/res/menu/{audio_player.xml => video_playqueue_item.xml} | 0
 .../vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.kt   | 2 +-
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/application/vlc-android/res/menu/audio_player.xml b/application/vlc-android/res/menu/video_playqueue_item.xml
similarity index 100%
rename from application/vlc-android/res/menu/audio_player.xml
rename to application/vlc-android/res/menu/video_playqueue_item.xml
diff --git a/application/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.kt b/application/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.kt
index b6b7228fc8..9f9cc1977a 100644
--- a/application/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.kt
+++ b/application/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.kt
@@ -1725,7 +1725,7 @@ open class VideoPlayerActivity : AppCompatActivity(), PlaybackService.Callback,
 
     override fun onPopupMenu(view: View, position: Int, item: MediaWrapper?) {
         val popupMenu = PopupMenu(this, view)
-        popupMenu.menuInflater.inflate(R.menu.audio_player, popupMenu.menu)
+        popupMenu.menuInflater.inflate(R.menu.video_playqueue_item, popupMenu.menu)
 
         popupMenu.setOnMenuItemClickListener(PopupMenu.OnMenuItemClickListener { curentItem ->
             if (curentItem.itemId == R.id.audio_player_mini_remove) service?.run {



More information about the Android mailing list