[Android] Remove unnecessary code

Geoffrey Métais git at videolan.org
Wed Jun 28 13:46:55 CEST 2017


vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Wed Jun 28 13:46:16 2017 +0200| [c5bdb598136a30733bdd8c1f4b18e0f8f278f25e] | committer: Geoffrey Métais

Remove unnecessary code

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

 .../src/org/videolan/vlc/gui/video/VideoPlayerActivity.java    | 10 ----------
 1 file changed, 10 deletions(-)

diff --git a/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java b/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
index ffc97940a..c9ca4289c 100644
--- a/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
+++ b/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
@@ -2841,16 +2841,6 @@ public class VideoPlayerActivity extends AppCompatActivity implements IVLCVout.C
             updateNavStatus();
             setHudClickListeners(true);
             initPlaylistUi();
-            if (!mService.hasPlaylist() && !seekButtons) {
-                if (rtl) {
-                    mAdvOptions.setNextFocusRightId(R.id.player_overlay_play);
-                    mTracks.setNextFocusLeftId(R.id.player_overlay_play);
-                } else {
-                    mTracks.setNextFocusRightId(R.id.player_overlay_play);
-                    mAdvOptions.setNextFocusLeftId(R.id.player_overlay_play);
-
-                }
-            }
         }
     }
 



More information about the Android mailing list