mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-02 17:06:49 +00:00
Potential fix for garbled text in All Apps
- now redrawing the cache for CacheableTextView every time setText is called
This commit is contained in:
@@ -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