[Android] Remove useless and dangerous code

Geoffrey Métais git at videolan.org
Wed Nov 16 15:54:23 CET 2016


vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Wed Nov 16 15:32:52 2016 +0100| [ba2e5c8939db902643ce47c060937e02411166f6] | committer: Geoffrey Métais

Remove useless and dangerous code

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

 vlc-android/src/org/videolan/vlc/gui/audio/AudioPlayer.java | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/vlc-android/src/org/videolan/vlc/gui/audio/AudioPlayer.java b/vlc-android/src/org/videolan/vlc/gui/audio/AudioPlayer.java
index 504bd2f..b30a492 100644
--- a/vlc-android/src/org/videolan/vlc/gui/audio/AudioPlayer.java
+++ b/vlc-android/src/org/videolan/vlc/gui/audio/AudioPlayer.java
@@ -261,12 +261,6 @@ public class AudioPlayer extends PlaybackServiceFragment implements PlaybackServ
         return v;
     }
 
-    @Override
-    public void onPause() {
-        super.onPause();
-        getView().cancelLongPress();
-    }
-
     public void onPopupMenu(View anchor, final int position) {
         final Activity activity = getActivity();
         if (activity == null || position >= mPlaylistAdapter.getItemCount())



More information about the Android mailing list