Potential fix for garbled text in All Apps
- now redrawing the cache for CacheableTextView every time setText is called
This commit is contained in:
1 parent
f5675decc9
commit
c9c548eb10
3 files changed
+10
-21
No files matched your search
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user