* commit '235a20a3d1b57492ba0fbebb7f9dcce41ef011d0': Fix for display list problem with listview items.
This commit is contained in:
@@ -3370,7 +3370,9 @@ public abstract class ViewGroup extends View implements ViewParent, ViewManager
|
||||
addInArray(child, index);
|
||||
|
||||
child.mParent = this;
|
||||
child.mPrivateFlags = (child.mPrivateFlags & ~DIRTY_MASK & ~DRAWING_CACHE_VALID) | DRAWN;
|
||||
child.mPrivateFlags = (child.mPrivateFlags & ~DIRTY_MASK & ~DRAWING_CACHE_VALID) |
|
||||
DRAWN | INVALIDATED;
|
||||
this.mPrivateFlags |= INVALIDATED;
|
||||
|
||||
if (child.hasFocus()) {
|
||||
requestChildFocus(child, child.findFocus());
|
||||
|
||||
Reference in New Issue
Block a user