mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-01 08:16:49 +00:00
Removing some device profile dependencies in view contructors
Bug: 71709920 Change-Id: I13e33dceaeff71e3fb7bbb93f24be69c17d6da96
This commit is contained in:
@@ -275,8 +275,6 @@ public class AllAppsContainerView extends RelativeLayout implements DragSource,
|
||||
@Override
|
||||
protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) {
|
||||
DeviceProfile grid = mLauncher.getDeviceProfile();
|
||||
// Update the number of items in the grid before we measure the view
|
||||
grid.updateAppsViewNumCols();
|
||||
|
||||
if (mNumAppsPerRow != grid.inv.numColumns ||
|
||||
mNumPredictedAppsPerRow != grid.inv.numColumns) {
|
||||
|
||||
Reference in New Issue
Block a user