mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-03 01:16:49 +00:00
General code refactoring
> Removing utility method for isAttachedToWindow > Moving logic to calculate cell size from workspace to DeviceProfile > Replacing some constants with xml resource variables > Saving the item info using content values for better compatibility with other methods Change-Id: Idd612633d97a6241cb31148df9466031374bd5a0
This commit is contained in:
@@ -90,7 +90,7 @@ public class WidgetsContainerView extends BaseContainerView
|
||||
super(context, attrs, defStyleAttr);
|
||||
mLauncher = (Launcher) context;
|
||||
mDragController = mLauncher.getDragController();
|
||||
mAdapter = new WidgetsListAdapter(context, this, this, mLauncher);
|
||||
mAdapter = new WidgetsListAdapter(this, this, mLauncher);
|
||||
mIconCache = (LauncherAppState.getInstance()).getIconCache();
|
||||
if (DEBUG) {
|
||||
Log.d(TAG, "WidgetsContainerView constructor");
|
||||
|
||||
Reference in New Issue
Block a user