mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-18 18:28:20 +00:00
Change the access of cellX/Y of CellLayoutLayoutParams to private
Bug: 188081026 Test: no op change, should compile Test: ReorderWidgets Change-Id: I20367974e5a4cead406e18eb66dafd4d59651b2a Merged-In: I20367974e5a4cead406e18eb66dafd4d59651b2a
This commit is contained in:
committed by
Sebastián Franco
parent
60c7dfec29
commit
877088e6c3
@@ -117,8 +117,8 @@ public interface WorkspaceLayoutManager {
|
||||
lp = new CellLayoutLayoutParams(x, y, spanX, spanY, screenId);
|
||||
} else {
|
||||
lp = (CellLayoutLayoutParams) genericLp;
|
||||
lp.cellX = x;
|
||||
lp.cellY = y;
|
||||
lp.setCellX(x);
|
||||
lp.setCellY(y);
|
||||
lp.cellHSpan = spanX;
|
||||
lp.cellVSpan = spanY;
|
||||
}
|
||||
@@ -136,7 +136,8 @@ public interface WorkspaceLayoutManager {
|
||||
// TODO: This branch occurs when the workspace is adding views
|
||||
// outside of the defined grid
|
||||
// maybe we should be deleting these items from the LauncherModel?
|
||||
Log.e(TAG, "Failed to add to item at (" + lp.cellX + "," + lp.cellY + ") to CellLayout");
|
||||
Log.e(TAG, "Failed to add to item at (" + lp.getCellX() + "," + lp.getCellY()
|
||||
+ ") to CellLayout");
|
||||
}
|
||||
|
||||
child.setHapticFeedbackEnabled(false);
|
||||
|
||||
Reference in New Issue
Block a user