Loading src/com/android/launcher3/IconCache.java +2 −1 Original line number Diff line number Diff line Loading @@ -229,7 +229,8 @@ public class IconCache { Iterator<Entry<CacheKey, CacheEntry>> it = mCache.entrySet().iterator(); while (it.hasNext()) { final CacheEntry e = it.next().getValue(); if (e.icon.getWidth() < grid.iconSizePx || e.icon.getHeight() < grid.iconSizePx) { if ((e.icon != null) && (e.icon.getWidth() < grid.iconSizePx || e.icon.getHeight() < grid.iconSizePx)) { it.remove(); } } Loading Loading
src/com/android/launcher3/IconCache.java +2 −1 Original line number Diff line number Diff line Loading @@ -229,7 +229,8 @@ public class IconCache { Iterator<Entry<CacheKey, CacheEntry>> it = mCache.entrySet().iterator(); while (it.hasNext()) { final CacheEntry e = it.next().getValue(); if (e.icon.getWidth() < grid.iconSizePx || e.icon.getHeight() < grid.iconSizePx) { if ((e.icon != null) && (e.icon.getWidth() < grid.iconSizePx || e.icon.getHeight() < grid.iconSizePx)) { it.remove(); } } Loading