Revert "Clear the bitmap associated with canvases."

This reverts commit 9b9d48f289.
This commit is contained in:
Adam Cohen
2011-08-03 11:49:05 -07:00
parent 375b01e38f
commit 4e012846cd
7 changed files with 0 additions and 15 deletions
@@ -419,7 +419,6 @@ public class AppsCustomizePagedView extends PagedViewWithDraggableItems implemen
mCanvas.save();
preview.draw(mCanvas);
mCanvas.restore();
mCanvas.setBitmap(null);
createItemInfo.spanX = createItemInfo.spanY = 1;
}
@@ -700,7 +699,6 @@ public class AppsCustomizePagedView extends PagedViewWithDraggableItems implemen
c.save();
c.drawBitmap(b, 0, 0, null);
c.restore();
c.setBitmap(null);
images.add(outline);
}
@@ -749,7 +747,6 @@ public class AppsCustomizePagedView extends PagedViewWithDraggableItems implemen
d.setBounds(x, y, x + w, y + h);
d.draw(c);
d.setBounds(oldBounds); // Restore the bounds
c.setBitmap(null);
}
}
private Bitmap getShortcutPreview(ResolveInfo info, int cellWidth, int cellHeight) {