am 6e51630b: am 6cc74de5: am eebd9249: Fix bug 2236111 - right edge of widget chopped-off while dragging
Merge commit '6e51630b0fbacf4beb339cfeefa762cb66f03ba8'
* commit '6e51630b0fbacf4beb339cfeefa762cb66f03ba8':
Fix bug 2236111 - right edge of widget chopped-off while dragging
diff --git a/src/com/android/launcher2/DragView.java b/src/com/android/launcher2/DragView.java
index 7128ded..7a86273 100644
--- a/src/com/android/launcher2/DragView.java
+++ b/src/com/android/launcher2/DragView.java
@@ -84,9 +84,7 @@
@Override
protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) {
- int widthSize = resolveSize(mBitmap.getWidth(), widthMeasureSpec);
- int heightSize = resolveSize(mBitmap.getHeight(), heightMeasureSpec);
- setMeasuredDimension(widthSize, heightSize);
+ setMeasuredDimension(mBitmap.getWidth(), mBitmap.getHeight());
}
@Override