Potential fix for garbled text in All Apps

- now redrawing the cache for CacheableTextView every time setText is called
This commit is contained in:
Michael Jurka
2011-01-12 11:59:23 -08:00
parent f5675decc9
commit c9c548eb10
3 changed files with 10 additions and 21 deletions

View File

@@ -143,7 +143,6 @@ public class PagedViewIcon extends CacheableTextView implements Checkable {
mIcon = info.iconBitmap;
setCompoundDrawablesWithIntrinsicBounds(null, new FastBitmapDrawable(mIcon), null, null);
setText(info.title);
buildAndEnableCache();
setTag(info);
if (createHolographicOutlines) {
@@ -160,7 +159,6 @@ public class PagedViewIcon extends CacheableTextView implements Checkable {
modelIconCache.getFullResIcon(info, packageManager), mContext);
setCompoundDrawablesWithIntrinsicBounds(null, new FastBitmapDrawable(mIcon), null, null);
setText(info.loadLabel(packageManager));
buildAndEnableCache();
setTag(info);
if (createHolographicOutlines) {