mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-19 02:38:20 +00:00
Adding screen ID parameter in CellLayoutLayoutParams
Bug: 188081026 Test: launcher compiles, this test doesn't change existing logic only the model Change-Id: I7bcf6452d5ecb9b50914defc311ad06839220c92
This commit is contained in:
@@ -114,7 +114,7 @@ public interface WorkspaceLayoutManager {
|
||||
ViewGroup.LayoutParams genericLp = child.getLayoutParams();
|
||||
CellLayoutLayoutParams lp;
|
||||
if (genericLp == null || !(genericLp instanceof CellLayoutLayoutParams)) {
|
||||
lp = new CellLayoutLayoutParams(x, y, spanX, spanY);
|
||||
lp = new CellLayoutLayoutParams(x, y, spanX, spanY, screenId);
|
||||
} else {
|
||||
lp = (CellLayoutLayoutParams) genericLp;
|
||||
lp.cellX = x;
|
||||
|
||||
Reference in New Issue
Block a user