Fix regression: taps were not sent to wallpaper

Change-Id: I2114cf8161c7a3b0fa6849f15e5a8e4bd45dbabb
This commit is contained in:
Michael Jurka committed 2011-08-09 16:07:40 -07:00
1 parent cddd8d3cad
commit d771c96e5d
4 files changed
+22 -11

No files matched your search

@@ -81,6 +81,7 @@ public class CellLayout extends ViewGroup {
int[] mTempLocation = new int[2];
boolean[][] mOccupied;
private boolean mLastDownOnOccupiedCell = false;
private OnTouchListener mInterceptTouchListener;
@@ -752,6 +753,8 @@ public class CellLayout extends ViewGroup {
}
}
mLastDownOnOccupiedCell = found;
if (!found) {
final int cellXY[] = mTmpXY;
pointToCellExact(x, y, cellXY);
@@ -1877,4 +1880,8 @@ out: for (int i = x; i < x + spanX - 1 && x < xCount; i++) {
+ ", x=" + cellX + ", y=" + cellY + "]";
}
}
public boolean lastDownOnOccupiedCell() {
return mLastDownOnOccupiedCell;
}
}