[Android] Audio player: remove useless playlist display code

Adrien Maglo git at videolan.org
Thu Nov 28 16:27:10 CET 2013


vlc-ports/android | branch: master | Adrien Maglo <magsoft at videolan.org> | Thu Nov 28 12:03:55 2013 +0100| [d4d1cc6a1fac4d130f8c4719b39860722a86e12b] | committer: Adrien Maglo

Audio player: remove useless playlist display code

> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=d4d1cc6a1fac4d130f8c4719b39860722a86e12b
---

 .../videolan/vlc/gui/audio/AudioPlayerFragment.java    |   16 ----------------
 1 file changed, 16 deletions(-)

diff --git a/vlc-android/src/org/videolan/vlc/gui/audio/AudioPlayerFragment.java b/vlc-android/src/org/videolan/vlc/gui/audio/AudioPlayerFragment.java
index 33af550..59395b3 100644
--- a/vlc-android/src/org/videolan/vlc/gui/audio/AudioPlayerFragment.java
+++ b/vlc-android/src/org/videolan/vlc/gui/audio/AudioPlayerFragment.java
@@ -116,18 +116,6 @@ public class AudioPlayerFragment extends SherlockFragment implements IAudioPlaye
         mSongsList = (ListView) v.findViewById(R.id.songs_list);
         mSongsList.setAdapter(mSongsListAdapter);
 
-        mTitle.setOnClickListener(new View.OnClickListener() {
-            @Override
-            public void onClick(View v) {
-                onTextClick(v);
-            }
-        });
-        mArtist.setOnClickListener(new View.OnClickListener() {
-            @Override
-            public void onClick(View v) {
-                onTextClick(v);
-            }
-        });
         mTime.setOnClickListener(new View.OnClickListener() {
             @Override
             public void onClick(View v) {
@@ -400,10 +388,6 @@ public class AudioPlayerFragment extends SherlockFragment implements IAudioPlaye
         update();
     }
 
-    public void onTextClick(View view) {
-       Toast.makeText(getActivity(), "Open playlist view", Toast.LENGTH_SHORT).show();
-    }
-
     public void onPlayPauseClick(View view) {
         if (mAudioController.isPlaying()) {
             mAudioController.pause();



More information about the Android mailing list