Clear the bitmap associated with canvases.
Change-Id: Ic100a51960f8c0e7d8b3a107b64d23c7d70e6da9
This commit is contained in:
1 parent
eb5362e932
commit
9b9d48f289
7 files changed
+15
No files matched your search
@@ -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