[Android] VideoBrowser: fix crash on long press folder group
Duncan McNamara
git at videolan.org
Wed May 10 11:52:08 UTC 2023
vlc-android | branch: master | Duncan McNamara <dcn.mcnamara at gmail.com> | Thu May 4 16:07:24 2023 +0200| [e382bd703d929890de8872bebb3ae7f23b519e61] | committer: Nicolas Pomepuy
VideoBrowser: fix crash on long press folder group
Fixes #2918
> https://code.videolan.org/videolan/vlc-android/commit/e382bd703d929890de8872bebb3ae7f23b519e61
---
application/vlc-android/res/menu/action_mode_folder.xml | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/application/vlc-android/res/menu/action_mode_folder.xml b/application/vlc-android/res/menu/action_mode_folder.xml
index 9e49ecd4da..a35ca6e968 100644
--- a/application/vlc-android/res/menu/action_mode_folder.xml
+++ b/application/vlc-android/res/menu/action_mode_folder.xml
@@ -21,4 +21,14 @@
android:title="@string/delete"
android:icon="@drawable/ic_am_trash"
app:showAsAction="ifRoom" />
+ <item
+ android:orderInCategory="6"
+ android:title="@string/favorites_add"
+ app:showAsAction="never"
+ android:id="@+id/action_mode_favorite_add" />
+ <item
+ android:orderInCategory="6"
+ android:title="@string/favorites_remove"
+ app:showAsAction="never"
+ android:id="@+id/action_mode_favorite_remove" />
</menu>
\ No newline at end of file
More information about the Android
mailing list