Removing vestigial logic, fixing issue 4412373

Change-Id: Ifd8420caf9f3d9ae49c19964233f86d0ed497455
This commit is contained in:
Adam Cohen committed 2011-07-21 16:24:56 -07:00
1 parent fb268317fc
commit faea1f816e
2 files changed
+1 -6

No files matched your search

@@ -715,7 +715,6 @@ public class CellLayout extends ViewGroup {
cellInfo.cellY = lp.cellY;
cellInfo.spanX = lp.cellHSpan;
cellInfo.spanY = lp.cellVSpan;
cellInfo.valid = true;
found = true;
break;
}
@@ -731,8 +730,6 @@ public class CellLayout extends ViewGroup {
cellInfo.cellY = cellXY[1];
cellInfo.spanX = 1;
cellInfo.spanY = 1;
cellInfo.valid = cellXY[0] >= 0 && cellXY[1] >= 0 && cellXY[0] < mCountX &&
cellXY[1] < mCountY && !mOccupied[cellXY[0]][cellXY[1]];
}
setTag(cellInfo);
}
@@ -753,7 +750,6 @@ public class CellLayout extends ViewGroup {
cellInfo.cellY = -1;
cellInfo.spanX = 0;
cellInfo.spanY = 0;
cellInfo.valid = false;
setTag(cellInfo);
}
@@ -1848,7 +1844,6 @@ out: for (int i = x; i < x + spanX - 1 && x < xCount; i++) {
int spanY;
int screen;
long container;
boolean valid;
@Override
public String toString() {