[Android] PopupLayout: remove useless code

Thomas Guillem git at videolan.org
Mon Nov 28 16:39:18 CET 2016


vlc-android | branch: master | Thomas Guillem <thomas at gllm.fr> | Mon Nov 28 16:28:07 2016 +0100| [f90315696056fcaaca0c965ff38802f17a7d8040] | committer: Thomas Guillem

PopupLayout: remove useless code

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

 vlc-android/src/org/videolan/vlc/gui/view/PopupLayout.java | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/vlc-android/src/org/videolan/vlc/gui/view/PopupLayout.java b/vlc-android/src/org/videolan/vlc/gui/view/PopupLayout.java
index 16295ad..956b78d 100644
--- a/vlc-android/src/org/videolan/vlc/gui/view/PopupLayout.java
+++ b/vlc-android/src/org/videolan/vlc/gui/view/PopupLayout.java
@@ -191,9 +191,6 @@ public class PopupLayout extends RelativeLayout implements ScaleGestureDetector.
 
     @Override
     public void onScaleEnd(ScaleGestureDetector detector) {
-        WindowManager.LayoutParams lp = (WindowManager.LayoutParams) getLayoutParams();
-        lp.width *= mScaleFactor;
-        lp.height *= mScaleFactor;
         setViewSize(mPopupWidth, mPopupHeight);
         mScaleFactor = 1.0d;
         if (mVLCVout != null)



More information about the Android mailing list