mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-19 02:38:20 +00:00
Fix visual bugs
- Fix clipping of icon labels on large devices - Fix bug where icons and widgets on side pages in home workspace were visible on startup Change-Id: I8c17cfcb1ac27255b955e6db9d0eec7ce3833bd0
This commit is contained in:
@@ -44,7 +44,6 @@ public class IconCache {
|
||||
private final Bitmap mDefaultIcon;
|
||||
private final LauncherApplication mContext;
|
||||
private final PackageManager mPackageManager;
|
||||
private final Utilities.BubbleText mBubble;
|
||||
private final HashMap<ComponentName, CacheEntry> mCache =
|
||||
new HashMap<ComponentName, CacheEntry>(INITIAL_ICON_CACHE_CAPACITY);
|
||||
private int mIconDpi;
|
||||
@@ -52,7 +51,6 @@ public class IconCache {
|
||||
public IconCache(LauncherApplication context) {
|
||||
mContext = context;
|
||||
mPackageManager = context.getPackageManager();
|
||||
mBubble = new Utilities.BubbleText(context);
|
||||
int density = context.getResources().getDisplayMetrics().densityDpi;
|
||||
if (LauncherApplication.isScreenLarge()) {
|
||||
if (density == DisplayMetrics.DENSITY_LOW) {
|
||||
|
||||
Reference in New Issue
Block a user