From 3a9fcedbcd235372cd2ab64f825a0b5b3937f59e Mon Sep 17 00:00:00 2001 From: Michael Jurka Date: Fri, 13 Apr 2012 14:44:29 -0700 Subject: Fix warnings and remove dead code Change-Id: I574d823fedf4b752c3df5a72599b390f708823ac --- src/com/android/launcher2/DragLayer.java | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'src/com/android/launcher2/DragLayer.java') diff --git a/src/com/android/launcher2/DragLayer.java b/src/com/android/launcher2/DragLayer.java index e4e48d0cf..f71baec2f 100644 --- a/src/com/android/launcher2/DragLayer.java +++ b/src/com/android/launcher2/DragLayer.java @@ -23,9 +23,6 @@ import android.animation.ValueAnimator; import android.animation.ValueAnimator.AnimatorUpdateListener; import android.content.Context; import android.content.res.Resources; -import android.graphics.Canvas; -import android.graphics.Paint; -import android.graphics.PointF; import android.graphics.Rect; import android.util.AttributeSet; import android.view.KeyEvent; @@ -34,7 +31,6 @@ import android.view.View; import android.view.ViewParent; import android.view.accessibility.AccessibilityEvent; import android.view.accessibility.AccessibilityManager; -import android.view.animation.AnimationUtils; import android.view.animation.DecelerateInterpolator; import android.view.animation.Interpolator; import android.widget.FrameLayout; @@ -402,7 +398,7 @@ public class DragLayer extends FrameLayout { public void addResizeFrame(ItemInfo itemInfo, LauncherAppWidgetHostView widget, CellLayout cellLayout) { AppWidgetResizeFrame resizeFrame = new AppWidgetResizeFrame(getContext(), - itemInfo, widget, cellLayout, this); + widget, cellLayout, this); LayoutParams lp = new LayoutParams(-1, -1); lp.customPosition = true; -- cgit v1.2.3