Revert "Revert "Clear the bitmap associated with canvases.""

This reverts commit 4e012846cd.
This commit is contained in:
Adam Cohen
2011-08-03 12:02:47 -07:00
parent 30be2cd2a4
commit aaf473c2bb
7 changed files with 15 additions and 0 deletions
@@ -130,6 +130,7 @@ public class CachedTextView extends TextView {
setAlpha(prevAlpha);
mIsBuildingCache = false;
mCacheCanvas.restore();
mCacheCanvas.setBitmap(null);
// A hack-- we set the text to be one space (we don't make it empty just to avoid any
// potential issues with text measurement, like line height, etc.) so that the text view