Fixing issue where holographic icons could get out of sync in AllApps (when number of pages changes).
Change-Id: I1a63d4837c5b726a90229430f5fc698aa1db5550
This commit is contained in:
@@ -1042,8 +1042,7 @@ public class CustomizePagedView extends PagedViewWithDraggableItems
|
||||
final int x = index % mCellCountX;
|
||||
final int y = index / mCellCountX;
|
||||
setupPage(layout);
|
||||
layout.addViewToCellLayout(icon, -1, i, new PagedViewCellLayout.LayoutParams(x,y, 1,1),
|
||||
createHolographicOutlines);
|
||||
layout.addViewToCellLayout(icon, -1, i, new PagedViewCellLayout.LayoutParams(x,y, 1,1));
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1088,8 +1087,7 @@ public class CustomizePagedView extends PagedViewWithDraggableItems
|
||||
final int x = index % mCellCountX;
|
||||
final int y = index / mCellCountX;
|
||||
setupPage(layout);
|
||||
layout.addViewToCellLayout(icon, -1, i, new PagedViewCellLayout.LayoutParams(x,y, 1,1),
|
||||
createHolographicOutlines);
|
||||
layout.addViewToCellLayout(icon, -1, i, new PagedViewCellLayout.LayoutParams(x,y, 1,1));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user