Commit 8527cac4 authored by Adrien Maglo's avatar Adrien Maglo

Audio browser: remove the append all function as read all offers the same functionality

parent 007a26f2
......@@ -10,12 +10,9 @@
<item
android:id="@+id/audio_list_browser_play_all"
android:title="@string/play_all" />
<item
android:id="@+id/audio_list_browser_append_all"
android:title="@string/append_all" />
<item
android:id="@+id/audio_list_browser_delete"
android:title="@string/delete"/>
<item
android:id="@+id/audio_list_browser_delete"
android:title="@string/delete"/>
</group>
<group android:id="@+id/phone_only" >
<item
......
......@@ -199,10 +199,8 @@ public class AudioAlbumsSongsFragment extends SherlockFragment {
List<String> medias;
int id = item.getItemId();
boolean useAllItems = (id == R.id.audio_list_browser_play_all ||
id == R.id.audio_list_browser_append_all);
boolean append = (id == R.id.audio_list_browser_append ||
id == R.id.audio_list_browser_append_all);
boolean useAllItems = id == R.id.audio_list_browser_play_all;
boolean append = id == R.id.audio_list_browser_append;
if (ExpandableListContextMenuInfo.class.isInstance(menuInfo)) {
ExpandableListContextMenuInfo info = (ExpandableListContextMenuInfo) menuInfo;
......
......@@ -233,10 +233,8 @@ public class AudioBrowserFragment extends SherlockFragment {
List<String> medias;
int id = item.getItemId();
boolean useAllItems = (id == R.id.audio_list_browser_play_all ||
id == R.id.audio_list_browser_append_all);
boolean append = (id == R.id.audio_list_browser_append ||
id == R.id.audio_list_browser_append_all);
boolean useAllItems = id == R.id.audio_list_browser_play_all;
boolean append = id == R.id.audio_list_browser_append;
if (ExpandableListContextMenuInfo.class.isInstance(menuInfo)) {
ExpandableListContextMenuInfo info = (ExpandableListContextMenuInfo) menuInfo;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment