summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher2/DragController.java
diff options
context:
space:
mode:
authorAdam Cohen <adamcohen@google.com>2011-07-20 15:45:11 -0700
committerAdam Cohen <adamcohen@google.com>2011-07-20 17:59:04 -0700
commitfc53cd22c9a78708c78c85946443f23ec8c59502 (patch)
treea61a0f1ffd4729401c65a1a9d36f20593100fe8a /src/com/android/launcher2/DragController.java
parentd8ff0e68e8a5184b59876e987dc5e65b2f82baf5 (diff)
downloadandroid_packages_apps_Trebuchet-fc53cd22c9a78708c78c85946443f23ec8c59502.tar.gz
android_packages_apps_Trebuchet-fc53cd22c9a78708c78c85946443f23ec8c59502.tar.bz2
android_packages_apps_Trebuchet-fc53cd22c9a78708c78c85946443f23ec8c59502.zip
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
Diffstat (limited to 'src/com/android/launcher2/DragController.java')
-rw-r--r--src/com/android/launcher2/DragController.java9
1 files changed, 0 insertions, 9 deletions
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));
}