Fixes for other places where we expect CellLayoutChildren instead of CellLayout. (3392097)
Change-Id: I9df13c413ce62a2760ce6a8ebafed1e948088de2
This commit is contained in:
1 parent
65af56cf9d
commit
6e3140865d
3 files changed
+16
-8
No files matched your search
@@ -267,6 +267,13 @@ public class CellLayout extends ViewGroup {
|
||||
addView(mChildren);
|
||||
}
|
||||
|
||||
public CellLayoutChildren getChildrenLayout() {
|
||||
if (getChildCount() > 0) {
|
||||
return (CellLayoutChildren) getChildAt(0);
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
public void setIsDefaultDropTarget(boolean isDefaultDropTarget) {
|
||||
if (mIsDefaultDropTarget != isDefaultDropTarget) {
|
||||
mIsDefaultDropTarget = isDefaultDropTarget;
|
||||
|
||||
Reference in new issue
Block a user