[Android] ExpandableLayout: remove unused code

Adrien Maglo git at videolan.org
Mon Feb 24 15:09:16 CET 2014


vlc-ports/android | branch: master | Adrien Maglo <magsoft at videolan.org> | Mon Feb 24 12:31:01 2014 +0100| [9ef24ba360dd1da9b3021db44a6f7a2090cc4e18] | committer: Adrien Maglo

ExpandableLayout: remove unused code

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

 vlc-android/src/org/videolan/vlc/widget/ExpandableLayout.java |    4 ----
 1 file changed, 4 deletions(-)

diff --git a/vlc-android/src/org/videolan/vlc/widget/ExpandableLayout.java b/vlc-android/src/org/videolan/vlc/widget/ExpandableLayout.java
index c79b088..6da20b8 100644
--- a/vlc-android/src/org/videolan/vlc/widget/ExpandableLayout.java
+++ b/vlc-android/src/org/videolan/vlc/widget/ExpandableLayout.java
@@ -24,7 +24,6 @@ import org.videolan.vlc.R;
 import org.videolan.vlc.interfaces.OnExpandableListener;
 
 import android.content.Context;
-import android.content.res.TypedArray;
 import android.util.AttributeSet;
 import android.view.LayoutInflater;
 import android.view.View;
@@ -42,13 +41,10 @@ public class ExpandableLayout extends LinearLayout {
     private final LinearLayout mContent;
     private Boolean mExpanded;
     private OnExpandableListener listener = null;
-    private Context mContext;
 
     public ExpandableLayout(Context context, AttributeSet attrs) {
         super(context, attrs);
 
-        mContext = context;
-
         LayoutInflater.from(context).inflate(R.layout.expandable_layout, this, true);
 
         mHeaderLayout = findViewById(R.id.header_layout);



More information about the Android mailing list