Yet another attempt to fix (issue 6282761)

Change-Id: Iabb0dd8e59e566ddef71d4aa7aa684f52d06b3b3
This commit is contained in:
Adam Cohen
2012-05-16 17:15:26 -07:00
parent 7d816a7d2f
commit c93ea44202
2 changed files with 7 additions and 1 deletions
@@ -669,6 +669,12 @@ public class AppsCustomizePagedView extends PagedViewWithDraggableItems implemen
return false;
}
// This can happen in some weird cases involving multi-touch. We can't start dragging the
// widget if this is null, so we break out.
if (mCreateWidgetInfo == null) {
return false;
}
// Compose the drag image
Bitmap preview;
Bitmap outline;