[Android] VideoPlayer: remove write-only variable

Jean-Baptiste Kempf git at videolan.org
Fri Jul 4 01:02:22 CEST 2014


vlc-ports/android | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Fri Jul  4 01:01:38 2014 +0200| [0557367cd9884013eb8cd416160cd82b6ee8e893] | committer: Jean-Baptiste Kempf

VideoPlayer: remove write-only variable

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

 .../src/org/videolan/vlc/gui/video/VideoPlayerActivity.java        |    4 ----
 1 file changed, 4 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 70295b6..e91f45f 100644
--- a/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
+++ b/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
@@ -2107,7 +2107,6 @@ public class VideoPlayerActivity extends Activity implements IVideoPlayer {
     private final class SecondaryDisplay extends Presentation {
         public final static String TAG = "VLC/SecondaryDisplay";
 
-        private Context mContext;
         private SurfaceView mSurface;
         private SurfaceView mSubtitlesSurface;
         private SurfaceHolder mSurfaceHolder;
@@ -2120,8 +2119,6 @@ public class VideoPlayerActivity extends Activity implements IVideoPlayer {
             if (context instanceof Activity) {
                 setOwnerActivity((Activity) context);
             }
-            mContext = context;
-
             try {
                 mLibVLC = Util.getLibVlcInstance();
             } catch (LibVlcException e) {
@@ -2201,5 +2198,4 @@ public class VideoPlayerActivity extends Activity implements IVideoPlayer {
         editor.putBoolean(PREF_TIPS_SHOWN, true);
         editor.commit();
     }
-
 }



More information about the Android mailing list