From fc53cd22c9a78708c78c85946443f23ec8c59502 Mon Sep 17 00:00:00 2001 From: Adam Cohen Date: Wed, 20 Jul 2011 15:45:11 -0700 Subject: Fixing a couple bugs, allapps clicks and weird crash -> issue 5021897 (when this was fixed, exposed more bugginess that is now fixed) -> issue 5038392 Change-Id: I49a4e9fca154f75ea22ad2c462641747536102ce --- src/com/android/launcher2/DragController.java | 9 --------- 1 file changed, 9 deletions(-) (limited to 'src/com/android/launcher2/DragController.java') diff --git a/src/com/android/launcher2/DragController.java b/src/com/android/launcher2/DragController.java index 5aecede0e..eb0db69eb 100644 --- a/src/com/android/launcher2/DragController.java +++ b/src/com/android/launcher2/DragController.java @@ -23,13 +23,11 @@ import android.graphics.RectF; import android.os.Handler; import android.os.IBinder; import android.os.Vibrator; -import android.util.DisplayMetrics; import android.util.Log; import android.view.KeyEvent; import android.view.MotionEvent; import android.view.View; import android.view.ViewConfiguration; -import android.view.WindowManager; import android.view.inputmethod.InputMethodManager; import com.android.launcher.R; @@ -288,13 +286,6 @@ public class DragController { final DragView dragView = mDragObject.dragView = new DragView(mLauncher, b, registrationX, registrationY, 0, 0, b.getWidth(), b.getHeight()); - final DragSource dragSource = source; - dragView.setOnDrawRunnable(new Runnable() { - public void run() { - dragSource.onDragViewVisible(); - }; - }); - if (dragRegion != null) { dragView.setDragRegion(new Rect(dragRegion)); } -- cgit v1.2.3