[Android] Remove unused variables

Geoffrey Métais git at videolan.org
Fri Jun 16 17:50:08 CEST 2017


vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Fri Jun 16 17:25:41 2017 +0200| [65b1f2de85f68ad7f499993926d180a6027d3178] | committer: Geoffrey Métais

Remove unused variables

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

 vlc-android/src/org/videolan/vlc/gui/MainActivity.java              | 6 ------
 vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java | 4 +---
 2 files changed, 1 insertion(+), 9 deletions(-)

diff --git a/vlc-android/src/org/videolan/vlc/gui/MainActivity.java b/vlc-android/src/org/videolan/vlc/gui/MainActivity.java
index a39989cde..a7ac961b4 100644
--- a/vlc-android/src/org/videolan/vlc/gui/MainActivity.java
+++ b/vlc-android/src/org/videolan/vlc/gui/MainActivity.java
@@ -102,12 +102,6 @@ public class MainActivity extends AudioPlayerContainerActivity implements Filter
     private static final int ACTIVITY_RESULT_PREFERENCES = 1;
     private static final int ACTIVITY_RESULT_OPEN = 2;
     public static final int ACTIVITY_RESULT_SECONDARY = 3;
-    private static final int ACTIVITY_SHOW_INFOLAYOUT = 2;
-    private static final int ACTIVITY_HIDE_INFOLAYOUT = 3;
-    private static final int ACTIVITY_SHOW_PROGRESSBAR = 4;
-    private static final int ACTIVITY_HIDE_PROGRESSBAR = 5;
-    private static final int ACTIVITY_SHOW_TEXTINFO = 6;
-    private static final int ACTIVITY_UPDATE_PROGRESS = 7;
 
 
     private Medialibrary mMediaLibrary;
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 f445257cf..ed5844ee7 100644
--- a/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
+++ b/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
@@ -169,8 +169,7 @@ public class VideoPlayerActivity extends AppCompatActivity implements IVLCVout.C
     public final static String EXTRA_URI = "extra_uri";
     public final static int RESULT_CONNECTION_FAILED = RESULT_FIRST_USER + 1;
     public final static int RESULT_PLAYBACK_ERROR = RESULT_FIRST_USER + 2;
-    public final static int RESULT_HARDWARE_ACCELERATION_ERROR = RESULT_FIRST_USER + 3;
-    public final static int RESULT_VIDEO_TRACK_LOST = RESULT_FIRST_USER + 4;
+    public final static int RESULT_VIDEO_TRACK_LOST = RESULT_FIRST_USER + 3;
     private static final float DEFAULT_FOV = 80f;
     public static final float MIN_FOV = 20f;
     public static final float MAX_FOV = 150f;
@@ -260,7 +259,6 @@ public class VideoPlayerActivity extends AppCompatActivity implements IVLCVout.C
     private ImageView mPlaybackSettingPlus;
     private ImageView mPlaybackSettingMinus;
     private View mObjectFocused;
-    private boolean mEnableBrightnessGesture;
     protected boolean mEnableCloneMode;
     private boolean mDisplayRemainingTime;
     private int mScreenOrientation;



More information about the Android mailing list