Revert "Revert "Clear the bitmap associated with canvases.""
This reverts commit 4e012846cd.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user