Fix regression: taps were not sent to wallpaper
Change-Id: I2114cf8161c7a3b0fa6849f15e5a8e4bd45dbabb
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user