From 99ac2cb98ad5da9c9ea646e38c564bb7fd0f64a8 Mon Sep 17 00:00:00 2001 From: Adrian Ulrich Date: Sat, 14 May 2016 08:54:40 +0200 Subject: [PATCH] implement play_or_enqueue and enqueue_as_next for playlist-default-actions --- res/values/untranslatable.xml | 16 ++++++++++++++++ res/xml/preference_library.xml | 2 +- .../android/vanilla/PlaylistActivity.java | 3 +++ 3 files changed, 20 insertions(+), 1 deletion(-) diff --git a/res/values/untranslatable.xml b/res/values/untranslatable.xml index 6a5cbaee..0b4a53fe 100644 --- a/res/values/untranslatable.xml +++ b/res/values/untranslatable.xml @@ -76,14 +76,30 @@ THE SOFTWARE. @string/seek_10s_forward @string/seek_10s_backward + + @string/play @string/enqueue @string/last_used_action @string/play_all @string/enqueue_all + @string/play_or_enqueue + @string/enqueue_as_next @string/do_nothing + + 0 + 1 + 2 + 3 + 4 + 7 + 8 + 5 + + + @string/play @string/enqueue diff --git a/res/xml/preference_library.xml b/res/xml/preference_library.xml index b8292279..eb61da3a 100644 --- a/res/xml/preference_library.xml +++ b/res/xml/preference_library.xml @@ -40,7 +40,7 @@ THE SOFTWARE. android:key="default_playlist_action" android:title="@string/default_playlist_action_title" android:entries="@array/default_playlist_action_entries" - android:entryValues="@array/entry_values" + android:entryValues="@array/default_playlist_action_entry_values" android:defaultValue="0" />